Skip to content

Commit 2d9e3db

Browse files
Make precedence explicit
1 parent fca99bb commit 2d9e3db

File tree

1 file changed

+1
-1
lines changed
  • src/hope_dedup_engine/apps/faces

1 file changed

+1
-1
lines changed

src/hope_dedup_engine/apps/faces/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ def report_long_execution(
2828
) -> Generator[None, None, None]:
2929
start = time.time()
3030
yield
31-
if total := time.time() - start > threshold_seconds:
31+
if (total := time.time() - start) > threshold_seconds:
3232
sentry_sdk.capture_message(f"Execution took {total} seconds: {message}")

0 commit comments

Comments
 (0)