Skip to content

Commit

Permalink
Fix typo in IOError exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
servilla committed Feb 10, 2021
1 parent 35b4918 commit 03796b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def main(json_path: str, recursive: bool, overwrite: bool):
if not overwrite:
ext = date.today().strftime("%Y%m%d")
if Path(f"{json_file}.{ext}").exists():
msg = f"Previous version '{json_file}.{ext}' alread exists"
msg = f"Previous version '{json_file}.{ext}' already exists"
raise IOError(msg)
Path(json_file).replace(f"{json_file}.{ext}")
with open(json_file, "w") as f:
Expand Down

0 comments on commit 03796b4

Please sign in to comment.