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:
Kevin O'Connor 2018-01-26 22:29:27 -05:00
parent 1b3ef8a8fb
commit 33893ece1d
1 changed files with 1 additions and 1 deletions

View File

@ -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 = {}