mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-08-14 19:05:17 +00:00
Update print_style.py
add encoding='utf-8' to _log_html for Cyrillic ...
This commit is contained in:
parent
35267ecf95
commit
332236b3fe
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ class PrintStyle:
|
|||
self.padding_added = True
|
||||
|
||||
def _log_html(self, html):
|
||||
with open(PrintStyle.log_file_path, "a") as f: # type: ignore
|
||||
with open(PrintStyle.log_file_path, "a", encoding='utf-8') as f: # type: ignore # add encoding='utf-8'
|
||||
f.write(html)
|
||||
|
||||
@staticmethod
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue