diff options
author | morpheus65535 <[email protected]> | 2021-06-03 11:13:56 -0400 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2021-06-03 11:13:56 -0400 |
commit | 11fb78fafabbb6529080cb8eecb6f1aed51ad7ec (patch) | |
tree | 22a4f2e0147ee25eb3965c5fb3dc7acd066a7562 | |
parent | 8cf02e31c94a48482c48e7295d574856d2168ac0 (diff) | |
download | bazarr-11fb78fafabbb6529080cb8eecb6f1aed51ad7ec.tar.gz bazarr-11fb78fafabbb6529080cb8eecb6f1aed51ad7ec.zip |
Fixed log viewer showing last line of log two times.
-rw-r--r-- | bazarr/api.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bazarr/api.py b/bazarr/api.py index d8fd300d9..847d84b1e 100644 --- a/bazarr/api.py +++ b/bazarr/api.py @@ -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: |