load blocklist plugin last
This commit is contained in:
parent
e9d8e1b290
commit
62bdd6a12e
|
@ -858,11 +858,18 @@ class DelugeGTK:
|
|||
|
||||
def load_plugins(self):
|
||||
enable_plugins = self.config.get('enabled_plugins').split(':')
|
||||
print enable_plugins
|
||||
for plugin in enable_plugins:
|
||||
if plugin != "Blocklist Importer":
|
||||
try:
|
||||
self.plugins.enable_plugin(plugin)
|
||||
except KeyError:
|
||||
pass
|
||||
if "Blocklist Importer" in enable_plugins:
|
||||
try:
|
||||
self.plugins.enable_plugin("Blocklist Importer")
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
## Call via a timer to update the interface
|
||||
def update(self):
|
||||
|
|
Loading…
Reference in New Issue