create lock dir

This commit is contained in:
Jesse Bannon 2025-09-05 19:28:03 -07:00
parent 88e97f8fc9
commit 309795bd2c

View file

@ -45,6 +45,7 @@ else:
) )
try: try:
os.makedirs(os.path.dirname(lock_file_path), exist_ok=True)
lock_file = open(lock_file_path, "w", encoding="utf-8") lock_file = open(lock_file_path, "w", encoding="utf-8")
except FileNotFoundError as exc: except FileNotFoundError as exc:
# pylint: disable=line-too-long # pylint: disable=line-too-long