diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-01-26 22:29:27 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2018-01-28 10:50:43 -0500 |
commit | 33893ece1df23f9f3af2f591fd0cdd65b9c129f3 (patch) | |
tree | 3ca43011396bf4328940adf04eecb2246b70d712 /scripts/logextract.py | |
parent | 1b3ef8a8fb3517d2ca88e45f591337dd6090c80c (diff) | |
download | kutter-33893ece1df23f9f3af2f591fd0cdd65b9c129f3.tar.gz kutter-33893ece1df23f9f3af2f591fd0cdd65b9c129f3.tar.xz kutter-33893ece1df23f9f3af2f591fd0cdd65b9c129f3.zip |
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>
Diffstat (limited to 'scripts/logextract.py')
-rwxr-xr-x | scripts/logextract.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/logextract.py b/scripts/logextract.py index d76a2c02..00d60c93 100755 --- a/scripts/logextract.py +++ b/scripts/logextract.py @@ -94,7 +94,7 @@ class GatherShutdown: configs_by_id = {c.config_num: c for c in configs.values()} config = configs_by_id[max(configs_by_id.keys())] 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.gcode_stream = [] self.mcus = {} |