Ensure preferences can be loaded using preferences.json. #7516

This commit is contained in:
Yogesh Mahajan
2024-06-12 12:07:28 +05:30
committed by GitHub
parent 0cb75bdcab
commit bdadc77235

View File

@@ -496,6 +496,8 @@ class ManagePreferences:
sqlite_path: Optional[str] = None,
):
"""Set User preferences."""
if not pref_options:
pref_options = []
if input_file:
from urllib.parse import unquote