Skip to content

Commit d9858bf

Browse files
author
Radar
committed
condition statement error
1 parent d1e42f5 commit d9858bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pysuez/client.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ def check_credentials(self):
205205
allow_redirects=False,
206206
timeout=self._timeout
207207
)
208-
if ('Connexion en cours') in response.content.decode()
209-
or ('se déconnecter') in response.content.decode():
208+
if ('Connexion en cours') in response.content.decode() or
209+
('se déconnecter') in response.content.decode():
210210
return True
211211
else:
212212
return False

0 commit comments

Comments
 (0)