Skip to content

Commit

Permalink
fixed last_modified
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaustuv942 committed Oct 4, 2020
1 parent eafadc3 commit 8fe6c31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quiz/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def new_score(self,player):
player.today = curr_config.current_day +1 #to the next day, questions ptr is shifted to
else:
player.current_question += 1 #else the questions ptr is shifted forward by one
last_modified =datetime.datetime.now().replace(tzinfo=utc)
player.last_modified =datetime.datetime.now().replace(tzinfo=utc)
player.save()

def lboardSave(self):
Expand Down

0 comments on commit 8fe6c31

Please sign in to comment.