logextract: Fix error in config file name print
Fix typo causing an error during the printing of the config file name. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
1b3ef8a8fb
commit
33893ece1d
|
@ -94,7 +94,7 @@ class GatherShutdown:
|
||||||
configs_by_id = {c.config_num: c for c in configs.values()}
|
configs_by_id = {c.config_num: c for c in configs.values()}
|
||||||
config = configs_by_id[max(configs_by_id.keys())]
|
config = configs_by_id[max(configs_by_id.keys())]
|
||||||
config.add_comment(format_comment(line_num, recent_lines[-1][1]))
|
config.add_comment(format_comment(line_num, recent_lines[-1][1]))
|
||||||
self.comments.append("# config %s" % (self.config.filename,))
|
self.comments.append("# config %s" % (config.filename,))
|
||||||
self.stats_stream = []
|
self.stats_stream = []
|
||||||
self.gcode_stream = []
|
self.gcode_stream = []
|
||||||
self.mcus = {}
|
self.mcus = {}
|
||||||
|
|
Loading…
Reference in New Issue