aboutsummaryrefslogtreecommitdiffstats
path: root/lib/isodumper.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/isodumper.py')
-rwxr-xr-xlib/isodumper.py6
1 files changed, 4 insertions, 2 deletions
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