Skip to content

Commit

Permalink
<feature> remove temporary file if no error found
Browse files Browse the repository at this point in the history
  • Loading branch information
anonymousException committed Sep 13, 2024
1 parent e20fda9 commit 8ffb9a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Binary file added docs/video/repair_error.mp4
Binary file not shown.
3 changes: 3 additions & 0 deletions src/renpy_lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 8ffb9a9

Please sign in to comment.