summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/FileserveCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-20 23:07:42 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-20 23:07:42 +0200
commit2475ddb7654d0d6fb1be18082b5c8c480befdbb3 (patch)
treeb82a8b5fc0a309f69733b0a004284f4ef45833d8 /pyload/plugin/hoster/FileserveCom.py
parentSpare code cosmetics (9) (diff)
parentadded check of classname == filename (diff)
downloadpyload-2475ddb7654d0d6fb1be18082b5c8c480befdbb3.tar.xz
Merge branch 'pr/n10_ardi69' into 0.4.10
Conflicts: pyload/plugin/hoster/FileserveCom.py
Diffstat (limited to 'pyload/plugin/hoster/FileserveCom.py')
-rw-r--r--pyload/plugin/hoster/FileserveCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugin/hoster/FileserveCom.py b/pyload/plugin/hoster/FileserveCom.py
index 4530f8ff8..1d4179e5c 100644
--- a/pyload/plugin/hoster/FileserveCom.py
+++ b/pyload/plugin/hoster/FileserveCom.py
@@ -144,7 +144,7 @@ class FileserveCom(Hoster):
if "fail" in res:
self.fail(_("Failed getting wait time"))
- if self.__class__.__name__ == "FilejungleCom":
+ if self.getClassName() == "FilejungleCom":
m = re.search(r'"waitTime":(\d+)', res)
if m is None:
self.fail(_("Cannot get wait time"))
@@ -184,7 +184,7 @@ class FileserveCom(Hoster):
def handlePremium(self, pyfile):
premium_url = None
- if self.__class__.__name__ == "FileserveCom":
+ if self.getClassName() == "FileserveCom":
# try api download
res = self.load("http://app.fileserve.com/api/download/premium/",
post={"username": self.user,