From 15f443ea392407e84476a5fb9ff2049de6183ad0 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Wed, 16 Dec 2015 10:17:10 +0100 Subject: [addons] Some code cosmetics --- module/plugins/hooks/IRC.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/hooks/IRC.py') diff --git a/module/plugins/hooks/IRC.py b/module/plugins/hooks/IRC.py index 2b7bea5fd..7dec4b798 100644 --- a/module/plugins/hooks/IRC.py +++ b/module/plugins/hooks/IRC.py @@ -219,7 +219,7 @@ class IRC(Thread, Notifier): lines = ["ID - Name - Status - Speed - ETA - Progress"] for data in downloads: - if data.status == 5: + if data.status is 5: temp_progress = data.format_wait else: temp_progress = "%d%% (%s)" % (data.percent, data.format_size) -- cgit v1.2.3