mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
use different roles of settings based on arguments
This commit is contained in:
parent
427491e30b
commit
85b6a644e5
1 changed files with 4 additions and 1 deletions
|
|
@ -27,7 +27,10 @@ class PypeCommands:
|
|||
from openpype.tools import settings
|
||||
|
||||
# TODO change argument options to allow enum of user roles
|
||||
user_role = "developer"
|
||||
if dev:
|
||||
user_role = "developer"
|
||||
else:
|
||||
user_role = "manager"
|
||||
settings.main(user_role)
|
||||
|
||||
@staticmethod
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue