From 5b01845627b9e077bdafd40a69d9ffad1b54da0e Mon Sep 17 00:00:00 2001 From: Radar Date: Tue, 4 Jun 2019 21:30:57 +0200 Subject: [PATCH] condition statement error --- pysuez/client.py | 6 ++++-- setup.py | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/pysuez/client.py b/pysuez/client.py index 02b5d75..9c1f0f5 100644 --- a/pysuez/client.py +++ b/pysuez/client.py @@ -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 diff --git a/setup.py b/setup.py index 0e043f7..77af4b0 100644 --- a/setup.py +++ b/setup.py @@ -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='pySuezWater@ooii.io', - 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(), @@ -36,4 +36,4 @@ 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ] -) \ No newline at end of file +)