mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-14 05:26:28 +00:00
again, to prevent upgrade problems, disable torrentpieces from being shown as available
This commit is contained in:
parent
3e5ad3e60d
commit
2037ceba69
@ -60,9 +60,10 @@ class PluginManager:
|
||||
# to be by design.
|
||||
mod = __import__(modname, globals(), locals(), [''])
|
||||
if 'deluge_init' in dir(mod):
|
||||
print "Initialising plugin",modname
|
||||
mod.deluge_init(path)
|
||||
self.available_plugins[mod.plugin_name] = mod
|
||||
if modname != "TorrentPieces":
|
||||
print "Initialising plugin",modname
|
||||
mod.deluge_init(path)
|
||||
self.available_plugins[mod.plugin_name] = mod
|
||||
|
||||
def get_available_plugins(self):
|
||||
return self.available_plugins.keys()
|
||||
|
Loading…
x
Reference in New Issue
Block a user