diff --git a/docs/video/repair_error.mp4 b/docs/video/repair_error.mp4 new file mode 100644 index 0000000..4edd598 Binary files /dev/null and b/docs/video/repair_error.mp4 differ diff --git a/src/renpy_lint.py b/src/renpy_lint.py index a65f969..8ee1614 100644 --- a/src/renpy_lint.py +++ b/src/renpy_lint.py @@ -34,6 +34,9 @@ def fix_translation_by_lint(game_path): exec_renpy_lint(game_path) if os.path.isfile(target): os.remove(target) + target = target[:-4] + '.error.txt' + if os.path.isfile(target): + os.remove(target) return False target = target[:-4] + '.error.txt' if not os.path.isfile(target):