summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/ShSt.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-10 12:24:47 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-10 12:24:47 +0200
commit491dc6943323232f3d06003c950718c89316616d (patch)
tree9a7b3b890ce8815835378deb12e36dc40924958e /module/plugins/crypter/ShSt.py
parent[Addon] Persistent self.info (diff)
downloadpyload-491dc6943323232f3d06003c950718c89316616d.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/crypter/ShSt.py')
-rw-r--r--module/plugins/crypter/ShSt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/crypter/ShSt.py b/module/plugins/crypter/ShSt.py
index 43cc4e779..429d3f3e2 100644
--- a/module/plugins/crypter/ShSt.py
+++ b/module/plugins/crypter/ShSt.py
@@ -27,5 +27,5 @@ class ShSt(Crypter):
self.req.http.c.setopt(pycurl.USERAGENT, "curl/7.42.1")
#: Fetch the target URL
header = self.load(self.pyfile.url, just_header = True, decode = False)
- target_url = header['location']
+ target_url = header.get('location')
self.urls.append(target_url)