diff options
author | 2015-10-10 12:24:47 +0200 | |
---|---|---|
committer | 2015-10-10 12:24:47 +0200 | |
commit | 491dc6943323232f3d06003c950718c89316616d (patch) | |
tree | 9a7b3b890ce8815835378deb12e36dc40924958e /module/plugins/hoster/BitshareCom.py | |
parent | [Addon] Persistent self.info (diff) | |
download | pyload-491dc6943323232f3d06003c950718c89316616d.tar.xz |
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/BitshareCom.py')
-rw-r--r-- | module/plugins/hoster/BitshareCom.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/BitshareCom.py b/module/plugins/hoster/BitshareCom.py index e426de092..5b9abe7cc 100644 --- a/module/plugins/hoster/BitshareCom.py +++ b/module/plugins/hoster/BitshareCom.py @@ -84,7 +84,7 @@ class BitshareCom(SimpleHoster): if self.premium: header = self.load(self.pyfile.url, just_header=True) if 'location' in header: - return header['location'] + return header.get('location') #: Get download info self.log_debug("Getting download info") |