mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-31 08:34:01 -05:00
Fixed jasmine and API test cases for import/export servers.
This commit is contained in:
1 parent
e797eb17eb
commit
05f3efbc97
2 files changed
+8
-2
No files matched your search
@@ -272,8 +272,12 @@ def filename_with_file_manager_path(_file, create_file=False,
|
||||
Filename to use for backup with full path taken from preference
|
||||
"""
|
||||
# retrieve storage directory path
|
||||
last_storage = Preferences.module('file_manager').preference(
|
||||
'last_storage').get()
|
||||
try:
|
||||
last_storage = Preferences.module('file_manager').preference(
|
||||
'last_storage').get()
|
||||
except Exception as e:
|
||||
last_storage = MY_STORAGE
|
||||
|
||||
if last_storage != MY_STORAGE:
|
||||
selDirList = [sdir for sdir in current_app.config['SHARED_STORAGE']
|
||||
if sdir['name'] == last_storage]
|
||||
|
||||
Reference in new issue
Block a user