remove white space on status message
This commit is contained in:
2
job.py
2
job.py
@@ -314,7 +314,7 @@ def CheckForJobs():
|
||||
print( f"called: /checkforjobs -- num={num}" )
|
||||
sts=[]
|
||||
for msg in PA_JobManager_Message.query.all():
|
||||
u='<a class="link-light" href="' + url_for('joblog', id=msg.job_id) + '">Job # ' + str(msg.job_id) + '</a>: '
|
||||
u='<a class="link-light" href="' + url_for('joblog', id=msg.job_id) + '">Job #' + str(msg.job_id) + '</a>: '
|
||||
sts.append( { 'message': u+msg.message, 'alert': msg.alert, 'job_id': msg.job_id, 'persistent': msg.persistent, 'cant_close': msg.cant_close } )
|
||||
return make_response( jsonify( num_active_jobs=num, sts=sts ) )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user