Fixed the unsaved results counter.
This commit is contained in:
parent
f9645c12bd
commit
080f587c10
1 changed files with 2 additions and 2 deletions
|
|
@ -52,8 +52,8 @@ class Worker:
|
|||
os.kill(os.getpid(), signal.SIGINT)
|
||||
break
|
||||
await self.result.run(log, appearance_changed_event, self)
|
||||
self.unsaved_jobs_total += 1
|
||||
if self.unsaved_jobs_total == 100:
|
||||
Worker.unsaved_jobs_total += 1
|
||||
if Worker.unsaved_jobs_total == 100:
|
||||
log.log_message("Auto-saving...")
|
||||
screen.save()
|
||||
summary.completed_total += 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue