Skip to content

Commit

Permalink
fix: test if file exists
Browse files Browse the repository at this point in the history
  • Loading branch information
KernAttila committed Mar 28, 2023
1 parent 67d88c1 commit f5f3091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cuesubmit/cuesubmit/Config.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def getConfigValues():
configFile = os.environ.get(CONFIG_FILE_ENV_VAR)\
or os.path.join(opencue.config.config_base_directory(),
'cuesubmit.yaml')
if not configFile:
if not os.path.exists(configFile):
return {}
configData = _loadYamlFile(yaml_file=configFile)
if 'RENDER_CMDS' in configData:
Expand Down

0 comments on commit f5f3091

Please sign in to comment.