Skip to content

Commit

Permalink
Fix fstring
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-romero committed Nov 18, 2024
1 parent 458525f commit 0fa670e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framegrab/grabber.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
)
Expand Down

0 comments on commit 0fa670e

Please sign in to comment.