Merge pull request #2827 from amenekowo/master

fix fm11rf08s_full log encoding type error
This commit is contained in:
Iceman 2025-04-18 05:21:17 +02:00 committed by GitHub
commit 3ca7fe8bce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -95,7 +95,7 @@ def lprint(s='', end='\n', flush=False, prompt="[" + color("=", fg="yellow") +
if log is True:
global logbuffer
if logfile is not None:
with open(logfile, 'a') as f:
with open(logfile, 'a', encoding='utf-8') as f:
f.write(s + end)
else:
# buffering