1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-25 17:17:12 +00:00

Fixed log viewer showing last line of log two times.

This commit is contained in:
morpheus65535 2021-06-03 11:13:56 -04:00
parent 8cf02e31c9
commit 11fb78fafa

View file

@ -536,6 +536,8 @@ class SystemLogs(Resource):
raw_lines = file.read()
lines = raw_lines.split('|\n')
for line in lines:
if line == '':
continue
raw_message = line.split('|')
raw_message_len = len(raw_message)
if raw_message_len > 3: