aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2023-07-03 12:46:15 +0200
committerPapoteur <papoteur@mageia.org>2023-07-03 12:46:15 +0200
commita5c8f17a12e2c533ec2d5b22548aa2d8894525aa (patch)
tree4706e220cc1d519db1991373d6bcada355cc5278 /lib
parent617d5e73b868c798d1a3c11acb9555336458a8cb (diff)
downloadisodumper-a5c8f17a12e2c533ec2d5b22548aa2d8894525aa.tar
isodumper-a5c8f17a12e2c533ec2d5b22548aa2d8894525aa.tar.gz
isodumper-a5c8f17a12e2c533ec2d5b22548aa2d8894525aa.tar.bz2
isodumper-a5c8f17a12e2c533ec2d5b22548aa2d8894525aa.tar.xz
isodumper-a5c8f17a12e2c533ec2d5b22548aa2d8894525aa.zip
Close magiback when closing isodumper
Keep the authorization one hour Add the -d option for debug
Diffstat (limited to 'lib')
-rwxr-xr-xlib/isodumper.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py
index c7a61b4..75ac4e7 100755
--- a/lib/isodumper.py
+++ b/lib/isodumper.py
@@ -1487,6 +1487,8 @@ exFAT, NTFS or ext. You can specify a volume name and the format in a new dialog
yui.YDialog.deleteAllDialogs()
# Closing
# restore old application title
+ if hasattr(self, 'iface'):
+ self.iface.close()
yui.YUI.app().setApplicationTitle(self.backupTitle)
self.dialog.destroy()
self.dialog = None
@@ -1500,7 +1502,7 @@ if __name__ == "__main__":
log = yui.YUILog.setLogFileName("/dev/null")
parser = ParseCLI("isodumper")
parser.parser.add_argument(
- "--debug", help=_("allow debug information"), action="store_true"
+ "-d", "--debug", help=_("allow debug information"), action="store_true"
)
if parser.args.version:
print(version.RELEASE)