mirror of
https://github.com/Cockatrice/Magic-Spoiler.git
synced 2026-03-21 17:54:59 -05:00
checker
Signed-off-by: Zach Halpern <ZaHalpern+github@gmail.com>
This commit is contained in:
parent
c9fc1b2447
commit
cb88104849
|
|
@ -550,7 +550,8 @@ def delete_old_files() -> None:
|
|||
if file.stem not in valid_files:
|
||||
file.unlink()
|
||||
|
||||
shutil.rmtree(OUTPUT_TMP_DIR)
|
||||
if OUTPUT_TMP_DIR.is_dir():
|
||||
shutil.rmtree(OUTPUT_TMP_DIR)
|
||||
|
||||
|
||||
def main() -> None:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user