diff --git a/scripts/logextract.py b/scripts/logextract.py index 5ac52915..1151e05f 100755 --- a/scripts/logextract.py +++ b/scripts/logextract.py @@ -41,7 +41,7 @@ class GatherConfig: self.comments.append(comment) def write_file(self): f = open(self.filename, 'wb') - f.write('\n'.join(self.comments + self.config_lines)) + f.write('\n'.join(self.comments + self.config_lines).strip() + '\n') f.close()