From 9268b1f4b49bb743fa50e99477219d3ff48a5387 Mon Sep 17 00:00:00 2001 From: ru-black <> Date: Fri, 11 Sep 2020 15:38:48 +0200 Subject: [PATCH] Fix typo Signed-off-by: Stefano Pigozzi --- worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker.py b/worker.py index 5720876..adffc0b 100644 --- a/worker.py +++ b/worker.py @@ -1447,7 +1447,7 @@ class Worker(threading.Thread): callback = self.__wait_for_inlinekeyboard_callback() # Toggle the correct property if callback.data == "toggle_edit_products": - admin.edit_products = not admin.edit_products1 + admin.edit_products = not admin.edit_products elif callback.data == "toggle_receive_orders": admin.receive_orders = not admin.receive_orders elif callback.data == "toggle_create_transactions":