Merge pull request #21771 from resilient-tech/remove-unused-var
This commit is contained in:
commit
7fb000d6ba
1 changed files with 0 additions and 1 deletions
|
|
@ -218,7 +218,6 @@ def download_backup(path):
|
|||
def download_private_file(path: str) -> Response:
|
||||
"""Checks permissions and sends back private file"""
|
||||
|
||||
can_access = False
|
||||
files = frappe.get_all("File", filters={"file_url": path}, fields="*")
|
||||
# this file might be attached to multiple documents
|
||||
# if the file is accessible from any one of those documents
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue