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:
parent
419efc59fa
commit
94f8b91611
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue