summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2021-08-08 00:11:21 +0300
committerEvgeny Zinoviev <me@ch1p.io>2021-08-08 00:11:21 +0300
commit550d3491282c7a3ac74f5863046f59adc5e1db56 (patch)
tree15f5c74892ea86b833eb0de84ccf07a6732ad292
parent4b64bd4e4ad587e44b4e67ff0ec0773efb478565 (diff)
ok it was a bug in gpio-relayd
-rw-r--r--main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index 06b43d0..60df15d 100644
--- a/main.py
+++ b/main.py
@@ -108,7 +108,7 @@ def msg_status(update: Update, context: CallbackContext) -> None:
response = relay.status()
status = 'Включен' if response == 'on' else 'Выключен'
- reply(update, status + ' ' + response)
+ reply(update, status)
except Exception as e:
handle_exc(update, e)