Skip to content

Commit

Permalink
Merge pull request 17thshard#10 from AviH0/feature-timestamps
Browse files Browse the repository at this point in the history
Feature timestamps
  • Loading branch information
AviH0 authored Apr 19, 2021
2 parents 71e7114 + a80dee5 commit a1d7500
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/SheetReader.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import sys
import time

import app.src.config


Expand Down Expand Up @@ -90,6 +92,7 @@ def get_current_rows(self):
@authenticate
def stu_finished(self, index):
self.sheet.update_cell(5 + index, 5, self.FINISHED)
self.sheet.update_cell(5 + index, 9, f"Turned Green at: {time.asctime()}")

@authenticate
def stu_no_showed(self, index, time):
Expand All @@ -108,6 +111,7 @@ def mail_sent(self, index):
@authenticate
def stu_arrived(self, index):
self.sheet.update_cell(5 + index, 5, self.ARRIVED)
self.sheet.update_cell(5 + index, 8, f"Turned Yellow at: {time.asctime()}")

@authenticate
def remove_stu(self, index):
Expand Down

0 comments on commit a1d7500

Please sign in to comment.