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:
parent
8cf02e31c9
commit
11fb78fafa
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue