Skip to content

Commit

Permalink
Fixed f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
heuer committed Feb 23, 2024
1 parent df4f20c commit 8c8967c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion segno/encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -1286,7 +1286,7 @@ def get_error_name(error_const):
for name, val in consts.ERROR_MAPPING.items():
if val == error_const:
return name
raise ValueError('Unknown error level "{error_const}"')
raise ValueError(f'Unknown error level "{error_const}"')


def get_version_name(version_const):
Expand Down

0 comments on commit 8c8967c

Please sign in to comment.