From f9e57022de88730da643f5fb4efe5599c879c6ad Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 14 Dec 2015 16:11:16 +0100 Subject: [accounts] Strict comparison for numbers --- module/plugins/accounts/OverLoadMe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/accounts/OverLoadMe.py') diff --git a/module/plugins/accounts/OverLoadMe.py b/module/plugins/accounts/OverLoadMe.py index 1c72f39bd..1f12fde83 100644 --- a/module/plugins/accounts/OverLoadMe.py +++ b/module/plugins/accounts/OverLoadMe.py @@ -47,5 +47,5 @@ class OverLoadMe(MultiAccount): data = json.loads(jsondata) - if data['err'] == 1: + if data['err'] is 1: self.fail_login() -- cgit v1.2.3