diff --git a/linter.py b/linter.py index 578622b..399aadc 100644 --- a/linter.py +++ b/linter.py @@ -301,7 +301,7 @@ def run(self, cmd, code): offset = getLastOffset(preproc_bank, new_number)[0] tokminoff = str(new_number - int(offset)) token_match = match.group(1) - new_line += '\n{0}:: ({1:>3}, 1): in file {2}: {3}'.format(token_match, tokminoff, result[1], new_line) + new_line = '{0}:: ({1:>3}, 1): in file {2}: {3}'.format(token_match, tokminoff, result[1], new_line) # print("New Line: {0}".format(new_line)) fixed_output_lines.append(new_line) continue