Ensure preferences can be loaded using preferences.json. #7516
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