From 41559c6d7c17862cc5640631e8a1bb7a00f923da Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 11 Apr 2014 12:26:05 +0200 Subject: Use pyfile instead self.pyfile Merges vuolter/pyload@b7f6e2e (cherry picked from commit 4d978dedd16418a4e7d8c81bd819a6a5fa432057) --- pyload/plugins/hoster/UploadingCom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyload/plugins/hoster/UploadingCom.py') diff --git a/pyload/plugins/hoster/UploadingCom.py b/pyload/plugins/hoster/UploadingCom.py index 9bb526506..c6a8a1231 100644 --- a/pyload/plugins/hoster/UploadingCom.py +++ b/pyload/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() -- cgit v1.2.3