1
Fork 0
mirror of https://github.com/Steffo99/greed.git synced 2024-11-24 14:54:18 +00:00
Signed-off-by: Stefano Pigozzi <ste.pigozzi@gmail.com>
This commit is contained in:
ru-black 2020-09-11 15:38:48 +02:00 committed by Stefano Pigozzi
parent a1ad26ff12
commit 9268b1f4b4

View file

@ -1447,7 +1447,7 @@ class Worker(threading.Thread):
callback = self.__wait_for_inlinekeyboard_callback() callback = self.__wait_for_inlinekeyboard_callback()
# Toggle the correct property # Toggle the correct property
if callback.data == "toggle_edit_products": 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": elif callback.data == "toggle_receive_orders":
admin.receive_orders = not admin.receive_orders admin.receive_orders = not admin.receive_orders
elif callback.data == "toggle_create_transactions": elif callback.data == "toggle_create_transactions":