mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 13:03:59 -06:00
Forbid interpolation in setting visibility preset files
We might use characters that collide with this. Contributes to issue CURA-5734.
This commit is contained in:
parent
a58c63bbb8
commit
db0da61506
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ class SettingVisibilityPreset(QObject):
|
|||
Logger.log("e", "[%s] is not a file", file_path)
|
||||
return None
|
||||
|
||||
parser = ConfigParser(allow_no_value = True) # Accept options without any value,
|
||||
parser = ConfigParser(interpolation = None, allow_no_value = True) # Accept options without any value,
|
||||
|
||||
parser.read([file_path])
|
||||
if not parser.has_option("general", "name") or not parser.has_option("general", "weight"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue