mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 04:50:12 -07:00
fm11rf08s_full: log file format use utf-8
Signed-off-by: Ame Neko <91962831+amenekowo@users.noreply.github.com>
This commit is contained in:
parent
cf3cb6e03a
commit
8dbfd018a3
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ def lprint(s='', end='\n', flush=False, prompt="[" + color("=", fg="yellow") +
|
||||||
if log is True:
|
if log is True:
|
||||||
global logbuffer
|
global logbuffer
|
||||||
if logfile is not None:
|
if logfile is not None:
|
||||||
with open(logfile, 'a') as f:
|
with open(logfile, 'a', encoding='utf-8') as f:
|
||||||
f.write(s + end)
|
f.write(s + end)
|
||||||
else:
|
else:
|
||||||
# buffering
|
# buffering
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue