diff options
author | 2015-09-30 00:30:53 +0200 | |
---|---|---|
committer | 2015-09-30 00:30:53 +0200 | |
commit | 3b3a4bd889286777ba6a590a1f74cf3edae36a72 (patch) | |
tree | c556a0f6072c9c7f41e9608a655aa0ae1e706221 /module/plugins/accounts/ZeveraCom.py | |
parent | [XFSHoster] Revert https://github.com/pyload/pyload/pull/1883 (diff) | |
download | pyload-3b3a4bd889286777ba6a590a1f74cf3edae36a72.tar.xz |
Add __config__ to MultiAccount (and XFSAccount) based plugins
Diffstat (limited to 'module/plugins/accounts/ZeveraCom.py')
-rw-r--r-- | module/plugins/accounts/ZeveraCom.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/module/plugins/accounts/ZeveraCom.py b/module/plugins/accounts/ZeveraCom.py index f85389cf8..c94ad6db7 100644 --- a/module/plugins/accounts/ZeveraCom.py +++ b/module/plugins/accounts/ZeveraCom.py @@ -11,6 +11,10 @@ class ZeveraCom(Account): __version__ = "0.30" __status__ = "testing" + __config__ = [("mh_mode" , "all;listed;unlisted", "Filter hosters to use" , "all"), + ("mh_list" , "str" , "Hoster list (comma separated)", "" ), + ("mh_interval", "int" , "Reload interval in minutes" , 60 )] + __description__ = """Zevera.com account plugin""" __license__ = "GPLv3" __authors__ = [("zoidberg", "zoidberg@mujmail.cz"), @@ -25,7 +29,6 @@ class ZeveraCom(Account): return [x.strip() for x in html.split(",")] - def __init__(self, manager, accounts): #@TODO: remove in 0.4.10 self.init() return super(ZeveraCom, self).__init__(manager, accounts) |