diff options
author | Papoteur <papoteur@mageia.org> | 2021-03-25 21:48:04 +0100 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2021-03-25 21:48:04 +0100 |
commit | 122d5f3d29999e9e8179251eed98bdf3fcb6a3d9 (patch) | |
tree | baf4db6d6d3084b854e0f190a6084a4e1cacaff3 /lib | |
parent | f1dcc6760e6c4c139b6c6e8b21b82221797206bc (diff) | |
parent | 34a3f6bb1e4ec34da22b97ec380ff40a114afc9a (diff) | |
download | isodumper-122d5f3d29999e9e8179251eed98bdf3fcb6a3d9.tar isodumper-122d5f3d29999e9e8179251eed98bdf3fcb6a3d9.tar.gz isodumper-122d5f3d29999e9e8179251eed98bdf3fcb6a3d9.tar.bz2 isodumper-122d5f3d29999e9e8179251eed98bdf3fcb6a3d9.tar.xz isodumper-122d5f3d29999e9e8179251eed98bdf3fcb6a3d9.zip |
Merge branch 'master' into topic/newgui
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/isodumper.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py index 0d940c9..fc5ef4d 100755 --- a/lib/isodumper.py +++ b/lib/isodumper.py @@ -504,7 +504,9 @@ class IsoDumper(basedialog.BaseDialog): self.logger(message) logging.warning(message) else: + self.logger(_("Adding encrypted persistent partition failed")) self.logger(iface.message) + nowarning = False else: iface.do_persistence(target, self.partition_label.value(), "") while not iface.done: @@ -512,7 +514,12 @@ class IsoDumper(basedialog.BaseDialog): self.progress.setValue(progress) self.dialog.pollEvent() time.sleep(.5) - message = _("Added persistent partition") + if iface.state: + message = _("Added persistent partition") + else: + message = _("Adding persistent partition failed") + self.logger(iface.message) + nowarning = False self.logger(message) logging.warning(message) # Unmount if partitions are automatically mounted and then eject |