summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/crypter/GooGl.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-21 17:22:19 +0200
commit41559c6d7c17862cc5640631e8a1bb7a00f923da (patch)
treed268d8d659b3099f561f03a18e5efe4fbf29ef8a /pyload/plugins/crypter/GooGl.py
parentFix __pattern__ www (diff)
downloadpyload-41559c6d7c17862cc5640631e8a1bb7a00f923da.tar.xz
Use pyfile instead self.pyfile
Merges vuolter/pyload@b7f6e2e (cherry picked from commit 4d978dedd16418a4e7d8c81bd819a6a5fa432057)
Diffstat (limited to 'pyload/plugins/crypter/GooGl.py')
-rw-r--r--pyload/plugins/crypter/GooGl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugins/crypter/GooGl.py b/pyload/plugins/crypter/GooGl.py
index b05009c58..49b8e1efd 100644
--- a/pyload/plugins/crypter/GooGl.py
+++ b/pyload/plugins/crypter/GooGl.py
@@ -35,6 +35,6 @@ class GooGl(Crypter):
rep = json_loads(rep)
if 'longUrl' in rep:
- self.core.files.addLinks([rep['longUrl']], self.pyfile.package().id)
+ self.core.files.addLinks([rep['longUrl']], pyfile.package().id)
else:
self.fail('Unable to expand shortened link')