Ignore invalid UTF-8 characters in log file
This commit is contained in:
parent
1706489e52
commit
9fb8e67164
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue