From b10615d7a5002726c51284aefe9e8f7e678097a5 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Thu, 1 Aug 2019 21:50:50 +0200 Subject: [PATCH] fix typo in wlan-autoreconnect script --- .bin/wlan-autoreconnect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: