summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/ShSt.py
diff options
context:
space:
mode:
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)