disable torrent pieces plugin from loading to prevent upgrade problems now that its been removed

This commit is contained in:
Marcos Pinto 2007-09-17 10:30:29 +00:00
parent a026f0472d
commit 3e5ad3e60d

View File

@ -951,7 +951,7 @@ window, please enter your password"))
def load_plugins(self):
enable_plugins = self.config.get('enabled_plugins').split(':')
for plugin in enable_plugins:
if plugin != "Blocklist Importer":
if plugin != "Blocklist Importer" and plugin != "Torrent Pieces":
try:
self.plugins.enable_plugin(plugin)
except KeyError: