diff options
author | Papoteur <papoteur@mageialinux-online.org> | 2016-07-12 08:26:23 +0200 |
---|---|---|
committer | Papoteur <papoteur@mageialinux-online.org> | 2016-07-12 08:26:23 +0200 |
commit | 3a1e06f10c07654cb74f2f28203363c31284744f (patch) | |
tree | a17a104c35d621d453d4a6697dfc0ce0fae92146 /lib | |
parent | 671ea2208a9884c7df684b9305a4161da513dbd4 (diff) | |
download | isodumper-3a1e06f10c07654cb74f2f28203363c31284744f.tar isodumper-3a1e06f10c07654cb74f2f28203363c31284744f.tar.gz isodumper-3a1e06f10c07654cb74f2f28203363c31284744f.tar.bz2 isodumper-3a1e06f10c07654cb74f2f28203363c31284744f.tar.xz isodumper-3a1e06f10c07654cb74f2f28203363c31284744f.zip |
More sure writing to log file
Diffstat (limited to 'lib')
-rw-r--r-- | lib/isodumper.py | 2 |
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() |