diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-04-11 12:26:05 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2014-04-21 17:22:19 +0200 |
commit | 41559c6d7c17862cc5640631e8a1bb7a00f923da (patch) | |
tree | d268d8d659b3099f561f03a18e5efe4fbf29ef8a /pyload/plugins/hoster/ZeveraCom.py | |
parent | Fix __pattern__ www (diff) | |
download | pyload-41559c6d7c17862cc5640631e8a1bb7a00f923da.tar.xz |
Use pyfile instead self.pyfile
Merges vuolter/pyload@b7f6e2e
(cherry picked from commit 4d978dedd16418a4e7d8c81bd819a6a5fa432057)
Diffstat (limited to 'pyload/plugins/hoster/ZeveraCom.py')
-rw-r--r-- | pyload/plugins/hoster/ZeveraCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugins/hoster/ZeveraCom.py b/pyload/plugins/hoster/ZeveraCom.py index f910852c8..7305ad90b 100644 --- a/pyload/plugins/hoster/ZeveraCom.py +++ b/pyload/plugins/hoster/ZeveraCom.py @@ -48,7 +48,7 @@ class ZeveraCom(Hoster): # self.logDebug("zevera.com: Old URL: %s" % pyfile.url) # # last_size = retries = 0 - # olink = self.pyfile.url #quote(self.pyfile.url.encode('utf_8')) + # olink = pyfile.url #quote(pyfile.url.encode('utf_8')) # # for _ in xrange(100): # self.retData = self.account.loadAPIRequest(self.req, cmd = 'download_request', olink = olink) @@ -95,7 +95,7 @@ class ZeveraCom(Hoster): # self.logError(retData['ErrorCode'], retData['ErrorMessage']) # #self.fail('ERROR: ' + retData['ErrorMessage']) # - # if self.pyfile.size / 1024000 > retData['AccountInfo']['AvailableTODAYTrafficForUseInMBytes']: + # if pyfile.size / 1024000 > retData['AccountInfo']['AvailableTODAYTrafficForUseInMBytes']: # self.logWarning("Not enough data left to download the file") # # def crazyDecode(self, ustring): |