summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FreeWayMe.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/FreeWayMe.py')
-rw-r--r--module/plugins/hoster/FreeWayMe.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/FreeWayMe.py b/module/plugins/hoster/FreeWayMe.py
index c0053fc76..501b544c6 100644
--- a/module/plugins/hoster/FreeWayMe.py
+++ b/module/plugins/hoster/FreeWayMe.py
@@ -38,13 +38,13 @@ class FreeWayMe(MultiHoster):
just_header=True)
if 'location' in header:
- headers = self.load(header['location'], just_header=True)
+ headers = self.load(header.get('location'), just_header=True)
if headers['code'] == 500:
#: Error on 2nd stage
self.log_error(_("Error [stage2]"))
else:
#: Seems to work..
- self.download(header['location'])
+ self.download(header.get('location'))
break
else:
#: Error page first stage