From 03796b400e8661ac71c2184f428f7ed9b82c4594 Mon Sep 17 00:00:00 2001 From: Mark Servilla Date: Tue, 9 Feb 2021 21:45:12 -0700 Subject: [PATCH] Fix typo in IOError exception message --- utils/convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/convert.py b/utils/convert.py index 45f6236..a44fbf2 100644 --- a/utils/convert.py +++ b/utils/convert.py @@ -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: