Always merge with basic default profile
This commit is contained in:
parent
896aad3ab0
commit
3bc77ffe3d
1 changed files with 1 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue