[dummypython] Fix up progress reporting
- It's annoying to have 100% progress reported (from the processing of list items) and then have another 3 seconds delay. Unrelated to the issue-at-hand, but spotted in testing.
This commit is contained in:
parent
1d30c99d89
commit
71b55995ee
@ -102,7 +102,7 @@ def run():
|
||||
status = _("Dummy python step {}").format(str(c) + ":" + repr(k))
|
||||
libcalamares.utils.debug(_("Dummy python step {}").format(str(k)))
|
||||
sleep(1)
|
||||
libcalamares.job.setprogress(c * 1.0 / len(configlist))
|
||||
libcalamares.job.setprogress(c * 1.0 / (len(configlist)+1))
|
||||
c += 1
|
||||
|
||||
sleep(3)
|
||||
|
Loading…
Reference in New Issue
Block a user