From 9f7f81e5eb6393d068a47a7395c89d2416db6f89 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 10 Oct 2015 12:32:25 +0200 Subject: Spare code cosmetics (2) --- module/plugins/internal/SimpleHoster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/internal/SimpleHoster.py') diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py index 0f27ecc91..cf74c6646 100644 --- a/module/plugins/internal/SimpleHoster.py +++ b/module/plugins/internal/SimpleHoster.py @@ -270,7 +270,7 @@ class SimpleHoster(Hoster): if not self.link and not self.last_download: self.preload() - if 'status' not in self.info or self.info['status'] is 3: #@TODO: Recheck in 0.4.10 + if self.info.get('status', 3) is 3: #@TODO: Recheck in 0.4.10 self.check_info() if self.premium and (not self.CHECK_TRAFFIC or self.check_traffic()): -- cgit v1.2.3