diff options
Diffstat (limited to 'src/Watcher/analysis.py')
-rwxr-xr-x | src/Watcher/analysis.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Watcher/analysis.py b/src/Watcher/analysis.py index 7a96b60..87acda3 100755 --- a/src/Watcher/analysis.py +++ b/src/Watcher/analysis.py @@ -39,6 +39,10 @@ def final_report(window_opened, time_spent): #print(report) if "User-logged-in" in report.keys(): report.pop("User-logged-in") + if "AFK" in report.keys(): + report.pop("AFK") + if "Unknown" in report.keys(): + report.pop("Unknown") # sort report dictonary in decreasing order of Usages sorted_values = [] for x,y in report.items(): |