Always merge with basic default profile
This commit is contained in:
1 parent
896aad3ab0
commit
3bc77ffe3d
1 file changed
+1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user