From 3a1e06f10c07654cb74f2f28203363c31284744f Mon Sep 17 00:00:00 2001 From: Papoteur Date: Tue, 12 Jul 2016 08:26:23 +0200 Subject: More sure writing to log file --- lib/isodumper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/isodumper.py b/lib/isodumper.py index 6deab83..5f8da3a 100644 --- a/lib/isodumper.py +++ b/lib/isodumper.py @@ -553,7 +553,7 @@ class IsoDumper(object): os.mkdir(logpath) else: logpath='/root' - logfile=open(logpath+'/isodumper.log',"w") + logfile=open(logpath+'/isodumper.log',"w", encoding="utf-8") logfile.write(self.logview.logText()) logfile.close() -- cgit v1.2.1