create sprite directory if it doesn't exist

This commit is contained in:
Fabian Dill
2020-11-30 21:34:40 +01:00
parent 72a3930d18
commit 74cf51c20b
2 changed files with 2 additions and 1 deletions

1
Gui.py
View File

@@ -1691,6 +1691,7 @@ def update_sprites(task, on_finish=None):
resultmessage = ""
successful = True
sprite_dir = local_path("data", "sprites", "alttpr")
os.makedirs(sprite_dir, exist_ok=True)
def finished():
task.close_window()