more fixes
This commit is contained in:
@@ -158,8 +158,6 @@ def runtopstat():
|
|||||||
if lineData:
|
if lineData:
|
||||||
with open(filename, "a", newline="") as csvfile:
|
with open(filename, "a", newline="") as csvfile:
|
||||||
csv_writer = csv.writer(csvfile)
|
csv_writer = csv.writer(csvfile)
|
||||||
lineData.insert(0, "cpu")
|
|
||||||
lineData.insert(0, timestamp)
|
|
||||||
csv_writer.writerow(lineData)
|
csv_writer.writerow(lineData)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user