summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/FileserveCom.py
diff options
context:
space:
mode:
authorGravatar Armin <Armin@Armin-PC.diedering.lan> 2015-04-16 19:38:27 +0200
committerGravatar Armin <Armin@Armin-PC.diedering.lan> 2015-04-16 19:38:27 +0200
commitd7ced99ef511ce9f0a81e437db2f31fce8717b23 (patch)
tree3df5e579ade317e01da47ded86d98483f0857fcb /pyload/plugin/hoster/FileserveCom.py
parentMerge pull request #1 from vuolter/0.4.10 (diff)
downloadpyload-d7ced99ef511ce9f0a81e437db2f31fce8717b23.tar.xz
fixed: more typos
Diffstat (limited to 'pyload/plugin/hoster/FileserveCom.py')
-rw-r--r--pyload/plugin/hoster/FileserveCom.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/pyload/plugin/hoster/FileserveCom.py b/pyload/plugin/hoster/FileserveCom.py
index b275f6e86..a7bb22440 100644
--- a/pyload/plugin/hoster/FileserveCom.py
+++ b/pyload/plugin/hoster/FileserveCom.py
@@ -40,9 +40,9 @@ class FileserveCom(Hoster):
__description = """Fileserve.com hoster plugin"""
__license = "GPLv3"
__authors = [("jeix", "jeix@hasnomail.de"),
- ("mkaay", "mkaay@mkaay.de"),
- ("Paul King", ""),
- ("zoidberg", "zoidberg@mujmail.cz")]
+ ("mkaay", "mkaay@mkaay.de"),
+ ("Paul King", ""),
+ ("zoidberg", "zoidberg@mujmail.cz")]
URLS = ["http://www.fileserve.com/file/", "http://www.fileserve.com/link-checker.php",
@@ -144,7 +144,7 @@ class FileserveCom(Hoster):
if "fail" in res:
self.fail(_("Failed getting wait time"))
- if self.__name == "FilejungleCom":
+ if self.__class__.__name__ == "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.__name == "FileserveCom":
+ if self.__class__.__name__ == "FileserveCom":
#try api download
res = self.load("http://app.fileserve.com/api/download/premium/",
post={"username": self.user,