Fix a bug of jobmgr
This commit is contained in:
parent
329761d671
commit
8ef456b246
|
@ -137,7 +137,7 @@ class JobMgr(threading.Thread):
|
|||
if not task_info:
|
||||
return False
|
||||
else:
|
||||
task_priority = self.job_priority
|
||||
task_priority = job.job_priority
|
||||
self.taskmgr.add_task(job.user, task_name, task_info, task_priority)
|
||||
return True
|
||||
|
||||
|
@ -155,4 +155,3 @@ class JobMgr(threading.Thread):
|
|||
# a task has finished
|
||||
def report(self, task):
|
||||
pass
|
||||
|
||||
|
|
Loading…
Reference in New Issue