Removed autokill feature if not specified

This commit is contained in:
Mokaddem 2016-08-25 11:09:31 +02:00
parent 2f136595fb
commit f9bf00f022
2 changed files with 2 additions and 2 deletions

View file

@ -130,7 +130,7 @@ if __name__ == "__main__":
content[longest_col] = temp.strip() content[longest_col] = temp.strip()
t1.table_data[i] = content t1.table_data[i] = content
t2 = AsciiTable(printarray2, title="Iddeling queues") t2 = AsciiTable(printarray2, title="Idling queues")
t2.column_max_width(1) t2.column_max_width(1)
if not t2.ok: if not t2.ok:
longest_col = t2.column_widths.index(max(t2.column_widths)) longest_col = t2.column_widths.index(max(t2.column_widths))

View file

@ -226,7 +226,7 @@ function create_queue_table() {
td.appendChild(document.createTextNode(glob_tabvar.row1[i][j])); td.appendChild(document.createTextNode(glob_tabvar.row1[i][j]));
tr.appendChild(td) tr.appendChild(td)
} }
if (parseInt(glob_tabvar.row1[i][2]) > 60*1 && parseInt(glob_tabvar.row1[i][1]) > 2) if (parseInt(glob_tabvar.row1[i][2]) > 60*2 && parseInt(glob_tabvar.row1[i][1]) > 2)
tr.className += " danger"; tr.className += " danger";
else if (parseInt(glob_tabvar.row1[i][2]) > 60*1) else if (parseInt(glob_tabvar.row1[i][2]) > 60*1)
tr.className += " warning"; tr.className += " warning";