Skip to content

Commit

Permalink
Fix liniting error and extend 'The extension controller is not regist…
Browse files Browse the repository at this point in the history
…ered' error message
  • Loading branch information
friday committed Nov 9, 2021
1 parent 00c9ae7 commit c1f5707
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ulauncher/ui/windows/PreferencesUlauncherDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,9 @@ def prefs_extension_update_prefs(self, url_params):
prefix = 'pref.'
controller = ExtensionServer.get_instance().get_controller(ext_id)
if not controller:
logger.error("Cannot update preferences. The extension controller is not registered. Try relaunching or restarting Ulauncher")
logger.error("Cannot update preferences. The extension controller is not registered. \
Try relaunching or restarting Ulauncher, and check the extension readme for external dependencies \
you may have to install manually")
return
preferences = [(key[len(prefix):], value) for key, value in query.items() if key.startswith(prefix)]
for pref_id, value in preferences:
Expand Down

0 comments on commit c1f5707

Please sign in to comment.