Skip to content

Commit

Permalink
Change to f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
isaac091 committed Jan 2, 2024
1 parent 23501da commit 4cbf314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion machine/corpora/usfm_file_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ def _get_id(filename: StrPath, encoding: str) -> str:
if index != -1:
id = id[:index]
return id.strip().upper()
raise RuntimeError("The USFM file '{filename}' does not contain an 'id' marker.")
raise RuntimeError(f"The USFM file '{filename}' does not contain an 'id' marker.")

0 comments on commit 4cbf314

Please sign in to comment.