summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/GooGl.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-16 00:46:26 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-16 00:46:26 +0200
commita1e78f33dc2b0b6777fdcbc415673f3965b25542 (patch)
tree4f2f0c9d7592482409740be8647f8f6849d30681 /module/plugins/crypter/GooGl.py
parent[StealthTo] Mark dead (diff)
downloadpyload-a1e78f33dc2b0b6777fdcbc415673f3965b25542.tar.xz
Prefer self.urls and self.packages for adding links
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 37531c11e..52bf93ed3 100644
--- a/module/plugins/crypter/GooGl.py
+++ b/module/plugins/crypter/GooGl.py
@@ -38,6 +38,6 @@ class GooGl(Crypter):
rep = json_loads(rep)
if 'longUrl' in rep:
- self.core.files.addLinks([rep['longUrl']], pyfile.package().id)
+ self.urls = [rep['longUrl']]
else:
self.fail('Unable to expand shortened link')