aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2016-07-12 08:26:23 +0200
committerPapoteur <papoteur@mageialinux-online.org>2016-07-12 08:26:23 +0200
commit3a1e06f10c07654cb74f2f28203363c31284744f (patch)
treea17a104c35d621d453d4a6697dfc0ce0fae92146
parent671ea2208a9884c7df684b9305a4161da513dbd4 (diff)
downloadisodumper-3a1e06f10c07654cb74f2f28203363c31284744f.tar
isodumper-3a1e06f10c07654cb74f2f28203363c31284744f.tar.gz
isodumper-3a1e06f10c07654cb74f2f28203363c31284744f.tar.bz2
isodumper-3a1e06f10c07654cb74f2f28203363c31284744f.tar.xz
isodumper-3a1e06f10c07654cb74f2f28203363c31284744f.zip
More sure writing to log file
-rw-r--r--lib/isodumper.py2
1 files changed, 1 insertions, 1 deletions
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()