From 491dc6943323232f3d06003c950718c89316616d Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 10 Oct 2015 12:24:47 +0200 Subject: Spare code cosmetics --- module/plugins/internal/XFSHoster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/internal/XFSHoster.py') diff --git a/module/plugins/internal/XFSHoster.py b/module/plugins/internal/XFSHoster.py index 80ef9a977..3373c08d8 100644 --- a/module/plugins/internal/XFSHoster.py +++ b/module/plugins/internal/XFSHoster.py @@ -184,7 +184,7 @@ class XFSHoster(SimpleHoster): header = self.load(m.group(1), just_header=True) if 'location' in header: #: Direct download link - self.link = header['location'] + self.link = header.get('location') def get_post_parameters(self): -- cgit v1.2.3