Skip to content

Commit

Permalink
[lfs] Workaround bug in FileLock >=3.15.3 (#656)
Browse files Browse the repository at this point in the history
  • Loading branch information
kloon15 authored Aug 23, 2024
1 parent 9395eb9 commit 09d280f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions legendary/lfs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@ def get_dir_size(path):


class LockedJSONData(FileLock):
def __init__(self, file_path: str):
super().__init__(file_path + '.lock')
def __init__(self, lock_file: str):
super().__init__(lock_file + '.lock')

self._file_path = file_path
self._file_path = lock_file
self._data = None
self._initial_data = None

Expand Down

0 comments on commit 09d280f

Please sign in to comment.