From f1c4d6b1439c13e744c1e407e467263e95d7a555 Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Mon, 17 Oct 2022 06:30:54 -0400 Subject: [PATCH] machine: validation fix for new installs Add a missing return statement to _link_data_subfolder. Signed-off-by: Eric Callahan --- moonraker/components/machine.py | 1 + 1 file changed, 1 insertion(+) diff --git a/moonraker/components/machine.py b/moonraker/components/machine.py index 3de407f..cba993f 100644 --- a/moonraker/components/machine.py +++ b/moonraker/components/machine.py @@ -1433,6 +1433,7 @@ class InstallValidator: f"Source path '{source_dir}' does not exist. Falling " f"back to default folder {subfolder}" ) + return if not source_dir.is_dir(): raise ValidationError( f"Failed to link subfolder '{folder_name}' to source path "