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
+1 -1
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