summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/UploadingCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-04-11 12:26:05 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-04-11 12:26:05 +0200
commit4d978dedd16418a4e7d8c81bd819a6a5fa432057 (patch)
treea347dae567c7e254b41df58e029f7bccfd5603a8 /module/plugins/hoster/UploadingCom.py
parentFix __pattern__ www (diff)
downloadpyload-4d978dedd16418a4e7d8c81bd819a6a5fa432057.tar.xz
Use pyfile instead self.pyfile
Merges vuolter/pyload@b7f6e2e
Diffstat (limited to 'module/plugins/hoster/UploadingCom.py')
-rw-r--r--module/plugins/hoster/UploadingCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/UploadingCom.py b/module/plugins/hoster/UploadingCom.py
index 9bb526506..c6a8a1231 100644
--- a/module/plugins/hoster/UploadingCom.py
+++ b/module/plugins/hoster/UploadingCom.py
@@ -44,8 +44,8 @@ class UploadingCom(SimpleHoster):
self.req.cj.setCookie("uploading.com", "setlang", "en")
self.req.cj.setCookie("uploading.com", "_lang", "en")
- if not "/get/" in self.pyfile.url:
- self.pyfile.url = self.pyfile.url.replace("/files", "/files/get")
+ if not "/get/" in pyfile.url:
+ pyfile.url = pyfile.url.replace("/files", "/files/get")
self.html = self.load(pyfile.url, decode=True)
self.file_info = self.getFileInfo()