From 56a4bdabf4dd2336cde5d20a3de46deaafff5d07 Mon Sep 17 00:00:00 2001 From: yihong1120 Date: Wed, 31 Jul 2024 23:33:16 +0800 Subject: [PATCH] Formatted with pre-commit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index d59ad5d..9a54801 100644 --- a/main.py +++ b/main.py @@ -175,7 +175,7 @@ def main( if not is_windows: # Use a unique key for each thread or process - key = f"{label}_{image_name}".encode('utf-8') + key = f"{label}_{image_name}".encode() # Store the frame in Redis r.set(key, frame_bytes)