1
Fork 0
mirror of https://github.com/Steffo99/greed.git synced 2024-11-21 13:34:18 +00:00

fix worker init

This commit is contained in:
valentino-sm 2021-05-07 17:00:15 +05:00 committed by Stefano Pigozzi
parent 419efc59fa
commit 94f8b91611

View file

@ -176,7 +176,7 @@ class Worker(threading.Thread):
# If the will be owner flag is set
if will_be_owner:
# Become owner
self.admin = db.Admin(user=self.user.user,
self.admin = db.Admin(user=self.user,
edit_products=True,
receive_orders=True,
create_transactions=True,