summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/Xdcc.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-26 12:44:15 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-26 12:44:15 +0100
commitce103ce1e60661f7bcdf6a033335134de61d48b1 (patch)
tree29b9421062cc8341dc10b6ca65e9a64802c3db71 /pyload/plugin/hoster/Xdcc.py
parent.min.css -> .css (diff)
downloadpyload-ce103ce1e60661f7bcdf6a033335134de61d48b1.tar.xz
Prepare to merging
Diffstat (limited to 'pyload/plugin/hoster/Xdcc.py')
-rw-r--r--pyload/plugin/hoster/Xdcc.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugin/hoster/Xdcc.py b/pyload/plugin/hoster/Xdcc.py
index aa5e32eab..b9aa45419 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):