From 0fa670e77b57654cf9c39312d64e79046d0c4889 Mon Sep 17 00:00:00 2001 From: Tyler Romero Date: Mon, 18 Nov 2024 14:02:45 -0800 Subject: [PATCH] Fix fstring --- src/framegrab/grabber.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/framegrab/grabber.py b/src/framegrab/grabber.py index a3927eb..e95fe04 100644 --- a/src/framegrab/grabber.py +++ b/src/framegrab/grabber.py @@ -1149,7 +1149,7 @@ def __init__(self, config: dict): def _apply_camera_specific_options(self, options: dict) -> None: if options.get("resolution"): - camera_name = self.config.get("name", "Unnamed {self.type} Stream") + camera_name = self.config.get("name", f"Unnamed {self.type} Stream") raise ValueError( f"Resolution was set for {camera_name}, but resolution cannot be set for {self.type} streams." )