diff options
author | Papoteur <papoteur@mageia.org> | 2018-10-19 09:01:16 +0200 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2018-10-19 09:01:16 +0200 |
commit | 0835bde83d98dc26912de3d5025d516667a07798 (patch) | |
tree | 76c55aa0ad8d8f22e6150aeb043317972bccb55f /lib/isodumper.py | |
parent | ae4851d5496d3bd2e7cf86cabda0eb37d0553dc2 (diff) | |
download | isodumper-0835bde83d98dc26912de3d5025d516667a07798.tar isodumper-0835bde83d98dc26912de3d5025d516667a07798.tar.gz isodumper-0835bde83d98dc26912de3d5025d516667a07798.tar.bz2 isodumper-0835bde83d98dc26912de3d5025d516667a07798.tar.xz isodumper-0835bde83d98dc26912de3d5025d516667a07798.zip |
Separate getting key and checking signature in a thread
Review the logic of checking
Diffstat (limited to 'lib/isodumper.py')
-rwxr-xr-x | lib/isodumper.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py index d1d1e1c..e6df9df 100755 --- a/lib/isodumper.py +++ b/lib/isodumper.py @@ -296,6 +296,7 @@ class IsoDumper(object): #Writing step #Dump mode iface.do_write(source, target, b) + iface.get_sum(source) progress = iface.progress while not iface.done : progress = iface.progress @@ -306,7 +307,8 @@ class IsoDumper(object): self.logger(_('Image {source} successfully written to {target}').format( source=source.split('/')[-1], target=target)) self.logger(_('Bytes written: ')+str(b)) self.progress.setLabel(_('Checking ')+target.split('/')[-1]) - self.progress.setValue(0) + self.progress.setValue(0) + # Checking iface.check_write(target, source) progress = iface.progress while progress < 100 : |