summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/SafelinkingNet.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/SafelinkingNet.py
parent[Addon] Persistent self.info (diff)
downloadpyload-491dc6943323232f3d06003c950718c89316616d.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/crypter/SafelinkingNet.py')
-rw-r--r--module/plugins/crypter/SafelinkingNet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/crypter/SafelinkingNet.py b/module/plugins/crypter/SafelinkingNet.py
index c5fac837a..a11ae2cd8 100644
--- a/module/plugins/crypter/SafelinkingNet.py
+++ b/module/plugins/crypter/SafelinkingNet.py
@@ -34,7 +34,7 @@ class SafelinkingNet(Crypter):
header = self.load(url, just_header=True)
if 'location' in header:
- self.urls = [header['location']]
+ self.urls = [header.get('location')]
else:
self.error(_("Couldn't find forwarded Link"))