diff options
Diffstat (limited to 'pyload/plugin/hook/RehostTo.py')
-rw-r--r-- | pyload/plugin/hook/RehostTo.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pyload/plugin/hook/RehostTo.py b/pyload/plugin/hook/RehostTo.py index 95290453b..cda80417c 100644 --- a/pyload/plugin/hook/RehostTo.py +++ b/pyload/plugin/hook/RehostTo.py @@ -4,11 +4,11 @@ from pyload.plugin.internal.MultiHook import MultiHook class RehostTo(MultiHook): - __name = "RehostTo" - __type = "hook" - __version = "0.50" + __name__ = "RehostTo" + __type__ = "hook" + __version__ = "0.50" - __config = [("pluginmode" , "all;listed;unlisted", "Use for plugins" , "all"), + __config__ = [("pluginmode" , "all;listed;unlisted", "Use for plugins" , "all"), ("pluginlist" , "str" , "Plugin list (comma separated)" , "" ), ("revertfailed" , "bool" , "Revert to standard download if fails", True ), ("retry" , "int" , "Number of retries before revert" , 10 ), @@ -16,9 +16,9 @@ class RehostTo(MultiHook): ("reload" , "bool" , "Reload plugin list" , True ), ("reloadinterval", "int" , "Reload interval in hours" , 12 )] - __description = """Rehost.to hook plugin""" - __license = "GPLv3" - __authors = [("RaNaN", "RaNaN@pyload.org")] + __description__ = """Rehost.to hook plugin""" + __license__ = "GPLv3" + __authors__ = [("RaNaN", "RaNaN@pyload.org")] def getHosters(self): |