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 9e8d1d9 commit 5b01845
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions pysuez/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,10 @@ 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
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

setup(
name='pysuez',
version='0.1.8',
version='0.1.9',
description='Get your water consumption data from your Suez account (www.toutsurmoneau.fr)',
long_description=long_description,
author='Farid N27',
author_email='[email protected]',
url='https://github.com/ooii/pySuez/releases/tag/0.1.8',
url='https://github.com/ooii/pySuez/releases/tag/0.1.9',
package_data={'': ['LICENSE']},
include_package_data=True,
packages=find_packages(),
Expand All @@ -36,4 +36,4 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
]
)
)

0 comments on commit 5b01845

Please sign in to comment.