mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 07:29:00 +08:00
Fix call to configparser.options
It needs to have the section from which to read the options. Contributes to issue CURA-37.
This commit is contained in:
parent
abb92afc27
commit
166c8a3048
@ -34,7 +34,7 @@ class LegacyProfileReader(ProfileReader):
|
||||
# profile.
|
||||
def prepareLocals(self, parser, section):
|
||||
locals = {}
|
||||
for option in parser.options():
|
||||
for option in parser.options(section):
|
||||
locals[option] = parser.get(section, option)
|
||||
return locals
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user