Skip to content

Commit

Permalink
Remove redundant usage of mutex
Browse files Browse the repository at this point in the history
  • Loading branch information
evilaliv3 committed Dec 24, 2024
1 parent 9d00f31 commit f5a54d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/globaleaks_eph_fs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@ def seek(self, offset):
self.position = offset # Update position after seek

def tell(self):
with self.mutex:
return self.position
return self.position

def close(self):
"""
Expand Down

0 comments on commit f5a54d3

Please sign in to comment.