diff options
author | 2015-04-13 08:21:50 +0200 | |
---|---|---|
committer | 2015-04-13 08:21:50 +0200 | |
commit | 486adc1874e463b1563ad2394b216faff388b10d (patch) | |
tree | 58009056cb67e35930d49a9dd6af45adf6a8d434 /pyload/plugin/hoster/Xdcc.py | |
parent | Fix https://github.com/pyload/pyload/issues/1349 (diff) | |
download | pyload-486adc1874e463b1563ad2394b216faff388b10d.tar.xz |
Prepare plugins to merging from stable
Diffstat (limited to 'pyload/plugin/hoster/Xdcc.py')
-rw-r--r-- | pyload/plugin/hoster/Xdcc.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugin/hoster/Xdcc.py b/pyload/plugin/hoster/Xdcc.py index ff8d2c3b8..10d50369f 100644 --- a/pyload/plugin/hoster/Xdcc.py +++ b/pyload/plugin/hoster/Xdcc.py @@ -15,17 +15,17 @@ from pyload.utils import fs_join class Xdcc(Hoster): - __name = "Xdcc" - __type = "hoster" - __version = "0.32" + __name__ = "Xdcc" + __type__ = "hoster" + __version__ = "0.32" - __config = [("nick", "str", "Nickname", "pyload"), + __config__ = [("nick", "str", "Nickname", "pyload"), ("ident", "str", "Ident", "pyloadident"), ("realname", "str", "Realname", "pyloadreal")] - __description = """Download from IRC XDCC bot""" - __license = "GPLv3" - __authors = [("jeix", "jeix@hasnomail.com")] + __description__ = """Download from IRC XDCC bot""" + __license__ = "GPLv3" + __authors__ = [("jeix", "jeix@hasnomail.com")] def setup(self): @@ -36,7 +36,7 @@ class Xdcc(Hoster): def process(self, pyfile): # change request type - self.req = pyfile.m.core.requestFactory.getRequest(self.__name, type="XDCC") + self.req = pyfile.m.core.requestFactory.getRequest(self.__name__, type="XDCC") self.pyfile = pyfile for _i in xrange(0, 3): |