From 1fb01578640cca86144c0e483fab736b7b6cb9bd Mon Sep 17 00:00:00 2001 From: Daniel Gretzke Date: Mon, 9 Dec 2019 19:08:18 +0100 Subject: [PATCH] fixed error message --- plug_py/plug.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plug_py/plug.py b/plug_py/plug.py index 25e730d..ab45a2f 100644 --- a/plug_py/plug.py +++ b/plug_py/plug.py @@ -353,8 +353,8 @@ def run(self): window.updateInfo('No smart socket found') window.updateInfoCenter('') except: - window.updateInfo('Error while connecting to smart socket') - window.updateInfoCenter('') + window.resetToStart() + window.updateInfo('An error occurred') # disconnect from websocket and display message to user def disconnect(self, err_msg):