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/crypter/XupPl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/crypter/XupPl.py') diff --git a/module/plugins/crypter/XupPl.py b/module/plugins/crypter/XupPl.py index ac918a6de..458372d13 100644 --- a/module/plugins/crypter/XupPl.py +++ b/module/plugins/crypter/XupPl.py @@ -21,6 +21,6 @@ class XupPl(Crypter): def decrypt(self, pyfile): header = self.load(pyfile.url, just_header=True) if 'location' in header: - self.urls = [header['location']] + self.urls = [header.get('location')] else: self.fail(_("Unable to find link")) -- cgit v1.2.3