mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 06:49:00 +08:00
Fix profile upgrade in profile importing
CURA-6681
This commit is contained in:
parent
0bf683d7b9
commit
33739ea7a8
@ -85,7 +85,7 @@ class CuraProfileReader(ProfileReader):
|
||||
profile = InstanceContainer(profile_id)
|
||||
profile.setMetaDataEntry("type", "quality_changes")
|
||||
try:
|
||||
profile.deserialize(serialized)
|
||||
profile.deserialize(serialized, file_name = profile_id)
|
||||
except ContainerFormatError as e:
|
||||
Logger.log("e", "Error in the format of a container: %s", str(e))
|
||||
return None
|
||||
|
Loading…
x
Reference in New Issue
Block a user