From c3b3f3ea5c813edbe3e6941c535c78ad494244ee Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sun, 11 Oct 2015 01:04:09 +0200 Subject: Fix https://github.com/pyload/pyload/issues/1998 Fix https://github.com/pyload/pyload/issues/1999 Fix https://github.com/pyload/pyload/issues/2001 --- module/plugins/hoster/Xdcc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/hoster/Xdcc.py') diff --git a/module/plugins/hoster/Xdcc.py b/module/plugins/hoster/Xdcc.py index 1cee6f5df..e107caf51 100644 --- a/module/plugins/hoster/Xdcc.py +++ b/module/plugins/hoster/Xdcc.py @@ -14,7 +14,7 @@ from module.utils import save_join as fs_join class Xdcc(Hoster): - __name = "Xdcc" + __name__ = "Xdcc" __type__ = "hoster" __version__ = "0.34" __status__ = "testing" @@ -35,7 +35,7 @@ class Xdcc(Hoster): def process(self, pyfile): #: Change request type - self.req = self.pyload.requestFactory.getRequest(self.__name__, type="XDCC") + self.req = self.pyload.requestFactory.getRequest(self.classname, type="XDCC") self.pyfile = pyfile for _i in xrange(0, 3): -- cgit v1.2.3