From 820b51427ef425e66aa8f54906a9d16bda908288 Mon Sep 17 00:00:00 2001 From: manetta Date: Wed, 10 Jul 2019 20:53:55 +0200 Subject: [PATCH] make sure the printer button always has the class 'connected' --- start.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.py b/start.py index 728f15d..1129202 100644 --- a/start.py +++ b/start.py @@ -45,7 +45,7 @@ def index_lang(lang): if printer.connected == True: connection = 'connected' else: - connection = 'disconnected' + connection = 'connected' if request.args.get('q', ''): results, filenames, analytics = readings.request_results(query)