mirror of
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git
synced 2026-04-27 17:51:38 +00:00
Create temp folder first before touching if it doesn't exist
Fixes #203
This commit is contained in:
@@ -7,6 +7,8 @@ from scripts.shared_paths import EXT_PATH, STATIC_TEMP_PATH, TEMP_PATH
|
||||
|
||||
# Set up our hash cache
|
||||
known_hashes_file = TEMP_PATH.joinpath("known_lora_hashes.txt")
|
||||
if not TEMP_PATH.exists():
|
||||
TEMP_PATH.mkdir()
|
||||
known_hashes_file.touch()
|
||||
file_needs_update = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user