summaryrefslogtreecommitdiffstats
path: root/module/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-11 12:26:05 +0200
commit4d978dedd16418a4e7d8c81bd819a6a5fa432057 (patch)
treea347dae567c7e254b41df58e029f7bccfd5603a8 /module/plugins/crypter/GooGl.py
parentFix __pattern__ www (diff)
downloadpyload-4d978dedd16418a4e7d8c81bd819a6a5fa432057.tar.xz
Use pyfile instead self.pyfile
Merges vuolter/pyload@b7f6e2e
Diffstat (limited to 'module/plugins/crypter/GooGl.py')
-rw-r--r--module/plugins/crypter/GooGl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/crypter/GooGl.py b/module/plugins/crypter/GooGl.py
index b05009c58..49b8e1efd 100644
--- a/module/plugins/crypter/GooGl.py
+++ b/module/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')