Commit 09fa1c12 authored by Nimesh's avatar Nimesh

Update window_activity.py

parent 1a8c9a95
......@@ -89,7 +89,10 @@ def summarize(t,winlist,applist):
report.write("\n"+"="*60+"\nstarted: "+startt+"\t"+"updated: "+currtime()+"\n"+"="*60)
def plot():
try:
data = pd.read_csv(log2)
except FileNotFoundError:
return
df = pd.DataFrame(data)
name = df['Application']
perc = df['Percentage']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment