aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/mcu.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2021-08-25 10:36:45 -0400
committerKevin O'Connor <kevin@koconnor.net>2021-08-25 10:36:45 -0400
commit84ac5b0146cbcec46419d4636b949f144992072e (patch)
tree81aaefd6ea5f939b9ad23935bdfbfaf4eefcb3b3 /klippy/mcu.py
parent75183bfb86c7003d3bac0116dba7765e4a4ab241 (diff)
downloadkutter-84ac5b0146cbcec46419d4636b949f144992072e.tar.gz
kutter-84ac5b0146cbcec46419d4636b949f144992072e.tar.xz
kutter-84ac5b0146cbcec46419d4636b949f144992072e.zip
configfile: Support config.getchoice() with integer keys
If the choice mapping uses integer keys then lookup the config option using self.getint(). This simplifies the callers and improves the encoding of the printer.configfile.settings export. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/mcu.py')
0 files changed, 0 insertions, 0 deletions