diff --git a/.bin/wlan-autoreconnect.py b/.bin/wlan-autoreconnect.py index 06c5b2b..74a9ebd 100644 --- a/.bin/wlan-autoreconnect.py +++ b/.bin/wlan-autoreconnect.py @@ -92,7 +92,7 @@ while True: if r.status_code == 200: log.info('Logged in to WIFIonICE') else: - log.warning('Logging in failed, got status code ' + str(r,status_code)) + log.warning('Logging in failed, got status code ' + str(r.status_code)) except requests.exceptions.ConnectTimeout: log.error('Timeout while trying to login, visit http://www.wifionice.de/ to check') except: