From 5bfdb853d257618d3156226fdd5692062c26df8b Mon Sep 17 00:00:00 2001 From: tcely Date: Mon, 7 Jul 2025 03:21:26 -0400 Subject: [PATCH] Releasing the lock to immediately take it again is a silly mistake --- tubesync/common/huey.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tubesync/common/huey.py b/tubesync/common/huey.py index ad62462d..ab13be47 100644 --- a/tubesync/common/huey.py +++ b/tubesync/common/huey.py @@ -11,7 +11,7 @@ from .timestamp import datetime_to_timestamp, timestamp_to_datetime def _set_acquired(self, value=True): if value is not True: - self.clear() + return self.clear() try: self.__enter__() except Exception: