Skip to content

Commit 8ffb9a9

Browse files
<feature> remove temporary file if no error found
1 parent e20fda9 commit 8ffb9a9

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

docs/video/repair_error.mp4

1.17 MB
Binary file not shown.

src/renpy_lint.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ def fix_translation_by_lint(game_path):
3434
exec_renpy_lint(game_path)
3535
if os.path.isfile(target):
3636
os.remove(target)
37+
target = target[:-4] + '.error.txt'
38+
if os.path.isfile(target):
39+
os.remove(target)
3740
return False
3841
target = target[:-4] + '.error.txt'
3942
if not os.path.isfile(target):

0 commit comments

Comments
 (0)