Releasing the lock to immediately take it again is a silly mistake

This commit is contained in:
tcely authored and GitHub committed 2025-07-07 03:21:26 -04:00
1 parent 39c67c3a66
commit 5bfdb853d2
1 file changed
+1 -1
+1 -1
View File
@@ -11,7 +11,7 @@ from .timestamp import datetime_to_timestamp, timestamp_to_datetime
def _set_acquired(self, value=True): def _set_acquired(self, value=True):
if value is not True: if value is not True:
self.clear() return self.clear()
try: try:
self.__enter__() self.__enter__()
except Exception: except Exception: