Skip to content

Commit

Permalink
Fix for unexisting files
Browse files Browse the repository at this point in the history
  • Loading branch information
matveyvarg committed Apr 2, 2024
1 parent 3ae7933 commit 114c53e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deker/locks.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ def check_existing_lock(self, func_args: Sequence, func_kwargs: Dict) -> None:
# Iterate over Arrays in VArray and try to lock them. If locking fails - wait.
# If it fails again - release all locks.
currently_locked = self.check_arrays_locks(arrays_positions, adapter, varray)
if not currently_locked and (len(self.locks) == len(arrays_positions)):
if not currently_locked:
# Release array locks
return

Expand Down

0 comments on commit 114c53e

Please sign in to comment.