Commit 78d9a097 authored by Pietro Saccardi's avatar Pietro Saccardi

Bugfix: did not select unique element.

parent 391c99b5
......@@ -145,7 +145,7 @@ class RatcamTelegramPlugin(TelegramProcessBase, MediaReceiver, MotionDetectorRes
bool_desc(self.motion_detection_enabled))
else:
try:
enable = fuzzy_bool(args)
enable = fuzzy_bool(args[0])
if enable:
if self.motion_detection_enabled:
self.root_telegram_plugin.reply_message(upd, 'Motion detection is already on.')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment