Ignore invalid UTF-8 characters in log file

This commit is contained in:
Joseph Coffland 2016-08-16 17:06:00 -07:00
parent 1706489e52
commit 9fb8e67164
2 changed files with 4 additions and 2 deletions

View File

@ -1,8 +1,9 @@
## v7.4.15
- Removed crashing themes: Evil-Mac & Outcrop
- Removed crashing themes: Evil-Mac & Outcrop.
- Ignore invalid UTF-8 characters in log file.
## v7.4.13
- Attempt to fix install on Ubuntu 16.04
- Attempt to fix install on Ubuntu 16.04.
## v7.4.1
- Removed trigger-save command, no longer necessary.

View File

@ -506,6 +506,7 @@ class ClientConfig:
if len(filtered):
text = '\n'.join(filtered)
text = text.decode('utf-8', 'ignore')
app.log.insert(app.log.get_end_iter(), text + '\n')
self.scroll_log_to_end(app)