mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-09 23:15:58 -06:00
Fixed an issue loading file fails in Desktop mode
This commit is contained in:
parent
ce637ecd4b
commit
50391ae3fd
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user