From d9858bf092441add97b66fe766aefa7eed4fa4b9 Mon Sep 17 00:00:00 2001 From: Radar Date: Tue, 4 Jun 2019 18:10:15 +0200 Subject: [PATCH] condition statement error --- pysuez/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pysuez/client.py b/pysuez/client.py index b452e6a..02b5d75 100644 --- a/pysuez/client.py +++ b/pysuez/client.py @@ -205,8 +205,8 @@ def check_credentials(self): allow_redirects=False, timeout=self._timeout ) - if ('Connexion en cours') in response.content.decode() - or ('se déconnecter') in response.content.decode(): + if ('Connexion en cours') in response.content.decode() or + ('se déconnecter') in response.content.decode(): return True else: return False