Skip to content

Commit

Permalink
fix: the Raise here would not work in older versions of python not im…
Browse files Browse the repository at this point in the history
…plementing the f-string "equals" feature yet.
  • Loading branch information
KernAttila committed May 25, 2023
1 parent 8f3b027 commit 6cfd785
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 @@ -54,7 +54,7 @@ def _loadYamlFile(yaml_file):
"""
_yaml_file = os.path.expandvars(yaml_file)
if not os.path.exists(_yaml_file):
raise FileNotFoundError(f'{_yaml_file=} not found')
raise FileNotFoundError(f"yaml_file:{_yaml_file} not found")
config_data = {}
with open(_yaml_file, 'r') as data:
try:
Expand Down

0 comments on commit 6cfd785

Please sign in to comment.