aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG2
-rwxr-xr-xlib/isodumper.py6
2 files changed, 6 insertions, 2 deletions
diff --git a/CHANGELOG b/CHANGELOG
index f267945..3065151 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -4,6 +4,8 @@ IsoDumper 1.17
--------------
- check SHA3-512 instead of SHA512
- add description for exFat
+ - suppress a warning about imp deprecated
+ - suppress YUI logs in console
- update translations
IsoDumper 1.16
diff --git a/lib/isodumper.py b/lib/isodumper.py
index 1fcd4ff..06eedeb 100755
--- a/lib/isodumper.py
+++ b/lib/isodumper.py
@@ -27,10 +27,10 @@
# ensure we're using the latest build, if called from our build environment
import sys
-import imp
+import importlib
sys.path.insert(0,'../../../build/swig/python3')
-imp.reload(sys)
+imporlib.reload(sys)
###########
# imports #
###########
@@ -766,6 +766,8 @@ exFAT, NTFS or ext. You can specify a volume name and the format in a new dialog
if __name__ == "__main__":
+ # Send the yui logging outside of the console
+ yui.YUILog.setLogFileName("/dev/null")
app = IsoDumper()
app.run()
# next line seems to be a workaround to prevent the qt-app from crashing