From 3bc77ffe3d3e5580170859c6aed31a75b8b100fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 20 Mar 2017 13:00:50 +0100 Subject: [PATCH] Always merge with basic default profile --- src/octoprint/printer/profile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/octoprint/printer/profile.py b/src/octoprint/printer/profile.py index f276fcb2..15610a88 100644 --- a/src/octoprint/printer/profile.py +++ b/src/octoprint/printer/profile.py @@ -370,6 +370,7 @@ class PrinterProfileManager(object): def _save_to_path(self, path, profile, allow_overwrite=False): self._migrate_profile(profile) + profile = dict_merge(self.__class__.default, profile) validated_profile = self._ensure_valid_profile(profile) if not validated_profile: raise InvalidProfileError()