mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[lfs] Workaround bug in FileLock >=3.15.3 (#656)
This commit is contained in:
parent
9395eb94ab
commit
09d280f476
|
@ -159,10 +159,10 @@ def get_dir_size(path):
|
||||||
|
|
||||||
|
|
||||||
class LockedJSONData(FileLock):
|
class LockedJSONData(FileLock):
|
||||||
def __init__(self, file_path: str):
|
def __init__(self, lock_file: str):
|
||||||
super().__init__(file_path + '.lock')
|
super().__init__(lock_file + '.lock')
|
||||||
|
|
||||||
self._file_path = file_path
|
self._file_path = lock_file
|
||||||
self._data = None
|
self._data = None
|
||||||
self._initial_data = None
|
self._initial_data = None
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue