Fixed an issue loading file fails in Desktop mode

pull/6062/head
Nikhil Mohite 2023-03-31 10:47:48 +05:30 committed by GitHub
parent ce637ecd4b
commit 50391ae3fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1810,7 +1810,7 @@ def load_file():
# retrieve storage directory path
storage_manager_path = get_storage_directory(
shared_storage=file_data['storage'])
shared_storage=file_data['storage'] if 'storage' in file_data else '')
try:
Filemanager.check_access_permission(storage_manager_path, file_path)