mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-12-25 08:21:04 -06:00
Ensure preferences can be loaded using preferences.json. #7516
This commit is contained in:
parent
0cb75bdcab
commit
bdadc77235
@ -496,6 +496,8 @@ class ManagePreferences:
|
|||||||
sqlite_path: Optional[str] = None,
|
sqlite_path: Optional[str] = None,
|
||||||
):
|
):
|
||||||
"""Set User preferences."""
|
"""Set User preferences."""
|
||||||
|
if not pref_options:
|
||||||
|
pref_options = []
|
||||||
|
|
||||||
if input_file:
|
if input_file:
|
||||||
from urllib.parse import unquote
|
from urllib.parse import unquote
|
||||||
|
Loading…
Reference in New Issue
Block a user