job_queue: queue state fix
When not in automatic mode make sure the queue state is paused after adding a job to the queue. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
0f428acd07
commit
d25c3c1d49
|
@ -170,6 +170,8 @@ class JobQueue:
|
|||
pass
|
||||
else:
|
||||
return True
|
||||
if not self.automatic and self.queue_state == "ready":
|
||||
self.queue_state == "paused"
|
||||
queued_job = QueuedJob(filename)
|
||||
self.queued_jobs[queued_job.job_id] = queued_job
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue