Skip to content

Commit

Permalink
Fixed new lines for parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
psav committed May 24, 2021
1 parent b645be0 commit 55a84f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion parse-controller-logs
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ for line in sys.stdin:
try:
js = json.loads(line)
except:
nline = line.strip("\n")
string = levels['error']
string += line
string += nline
string += cancel_colour
print(string)
continue
Expand Down

0 comments on commit 55a84f4

Please sign in to comment.