Fix get_file_lock

This commit is contained in:
7x11x13
2024-06-23 20:07:09 -04:00
parent a2c4b509e2
commit eaf1793741
2 changed files with 2 additions and 1 deletions

View File

@@ -1,3 +1,3 @@
# -*- encoding: utf-8 -*-
"""Python Soundcloud Music Downloader."""
__version__ = "v2.9.3"
__version__ = "v2.9.4"

View File

@@ -155,6 +155,7 @@ atexit.register(clean_up_locks)
def get_filelock(path: pathlib.Path, timeout: int = 10):
path = pathlib.Path(path)
path = path.resolve()
file_lock_dirs.append(path.parent)
lock_path = str(path) + ".scdl.lock"