Skip to content
Snippets Groups Projects
Commit 07af278d authored by Alexander Cherniuk's avatar Alexander Cherniuk
Browse files

Ignore nonexistent plugins directories

parent ae9d234d
No related branches found
No related tags found
No related merge requests found
......@@ -99,9 +99,10 @@ class PluginManager(object):
'''
Registered handlers of GUI extension points.
'''
for path in gajim.PLUGINS_DIRS:
self.add_plugins(PluginManager.scan_dir_for_plugins(path))
pc = PluginManager.scan_dir_for_plugins(path)
if pc:
self.add_plugins(pc)
self._activate_all_plugins_from_global_config()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment