again, to prevent upgrade problems, disable torrentpieces from being shown as available
This commit is contained in:
parent
3e5ad3e60d
commit
2037ceba69
@ -60,6 +60,7 @@ class PluginManager:
|
|||||||
# to be by design.
|
# to be by design.
|
||||||
mod = __import__(modname, globals(), locals(), [''])
|
mod = __import__(modname, globals(), locals(), [''])
|
||||||
if 'deluge_init' in dir(mod):
|
if 'deluge_init' in dir(mod):
|
||||||
|
if modname != "TorrentPieces":
|
||||||
print "Initialising plugin",modname
|
print "Initialising plugin",modname
|
||||||
mod.deluge_init(path)
|
mod.deluge_init(path)
|
||||||
self.available_plugins[mod.plugin_name] = mod
|
self.available_plugins[mod.plugin_name] = mod
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user