Skip to content

Commit

Permalink
fix: Allow lockfile to not exist (observed once)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed May 8, 2024
1 parent 4162758 commit 9d85287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def unlock(self) -> None:
"""
Delete the lock file.
"""
self.lockfile.unlink()
self.lockfile.unlink(missing_ok=True)

def remove(self):
"""
Expand Down

0 comments on commit 9d85287

Please sign in to comment.