mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
fix test on string to boolean
This commit is contained in:
parent
0c437017d4
commit
fe46093ada
1 changed files with 3 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ import os
|
|||
import sys
|
||||
import contextlib
|
||||
import traceback
|
||||
|
||||
import ast
|
||||
from Qt import QtWidgets
|
||||
|
||||
import avalon.api
|
||||
|
|
@ -41,7 +41,8 @@ def main(*subprocess_args):
|
|||
"ClosePS",
|
||||
os.environ.get("IS_TEST")
|
||||
)
|
||||
elif os.environ.get("AVALON_PHOTOSHOP_WORKFILES_ON_LAUNCH", True):
|
||||
elif ast.literal_eval(
|
||||
os.getenv("AVALON_PHOTOSHOP_WORKFILES_ON_LAUNCH", True)):
|
||||
save = False
|
||||
if os.getenv("WORKFILES_SAVE_AS"):
|
||||
save = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue