Skip to content

Commit

Permalink
Formatted with pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
yihong1120 committed Jul 31, 2024
1 parent 6e70964 commit 56a4bda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 56a4bda

Please sign in to comment.