mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06: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
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class LegacyProfileReader(ProfileReader):
|
||||||
# profile.
|
# profile.
|
||||||
def prepareLocals(self, parser, section):
|
def prepareLocals(self, parser, section):
|
||||||
locals = {}
|
locals = {}
|
||||||
for option in parser.options():
|
for option in parser.options(section):
|
||||||
locals[option] = parser.get(section, option)
|
locals[option] = parser.get(section, option)
|
||||||
return locals
|
return locals
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue