From a6de25e8645ce6a387890ae3bc7b8d3162f34c46 Mon Sep 17 00:00:00 2001 From: Charlie Powell <31997505+cp2004@users.noreply.github.com> Date: Tue, 11 Apr 2023 09:34:00 +0100 Subject: [PATCH] :bug: Fix `webcam.snapshotWebcam` not saving to config (#4784) It had no default so OctoPrint didn't want to save it Closes #4783 --- src/octoprint/schema/config/webcam.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/octoprint/schema/config/webcam.py b/src/octoprint/schema/config/webcam.py index 1f3c87338..8f6bd7567 100644 --- a/src/octoprint/schema/config/webcam.py +++ b/src/octoprint/schema/config/webcam.py @@ -78,3 +78,6 @@ class WebcamConfig(BaseModel): defaultWebcam: str = "classic" """The name of the default webcam""" + + snapshotWebcam: str = "classic" + """The name of the default webcam to use for snapshots"""