From 0835bde83d98dc26912de3d5025d516667a07798 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Fri, 19 Oct 2018 09:01:16 +0200 Subject: Separate getting key and checking signature in a thread Review the logic of checking --- lib/isodumper.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') 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 : -- cgit v1.2.1