create lock dir
This commit is contained in:
parent
88e97f8fc9
commit
309795bd2c
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue