summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcos Pinto <markybob@dipconsultants.com>2007-11-20 01:59:51 +0000
committerMarcos Pinto <markybob@dipconsultants.com>2007-11-20 01:59:51 +0000
commit3e6b577b1b6b424c35a24fb951b99e85a3707905 (patch)
tree88b1f84454d6c4ed3bcb01c10e5c79dc87d46fed
parent19ee80cfab866d55ebb66138a8d1f9a9501d0459 (diff)
downloaddeluge-3e6b577b1b6b424c35a24fb951b99e85a3707905.tar.gz
deluge-3e6b577b1b6b424c35a24fb951b99e85a3707905.tar.bz2
deluge-3e6b577b1b6b424c35a24fb951b99e85a3707905.zip
fix blocklist load on start
-rw-r--r--src/interface.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/interface.py b/src/interface.py
index 73505b39f..199d84491 100644
--- a/src/interface.py
+++ b/src/interface.py
@@ -1022,14 +1022,6 @@ window, please enter your password"))
# Load plugins after we showed main window (if not started in tray)
self.load_plugins()
self.load_tabs_order()
- #now we load blocklist plugin separately since it takes much longer
- enable_plugins = self.config.get('enabled_plugins').split(':')
-
- if "Blocklist Importer" in enable_plugins:
- try:
- self.plugins.enable_plugin("Blocklist Importer")
- except KeyError:
- pass
try:
gobject.threads_init()
@@ -1047,6 +1039,8 @@ window, please enter your password"))
self.plugins.enable_plugin(plugin)
except KeyError:
pass
+ if "Blocklist Importer" in enable_plugins:
+ self.plugins.enable_plugin("Blocklist Importer")
## Call via a timer to update the interface
def update(self):