Skip to content

Commit

Permalink
condition statement error
Browse files Browse the repository at this point in the history
  • Loading branch information
Radar committed Jun 4, 2019
1 parent d1e42f5 commit d9858bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pysuez/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d9858bf

Please sign in to comment.