MahmoudNasser commited on
Commit
580a9b3
·
1 Parent(s): a135cd2

Update Database.py

Browse files

Final inshallah ta3del

Files changed (1) hide show
  1. Database.py +1 -1
Database.py CHANGED
@@ -62,7 +62,7 @@ def shakwa_common_words():
62
  else:
63
  most_common_words[word] = 1
64
  most_common_words = sorted(most_common_words.items(), key=lambda x: x[1])
65
- db.collection("per_day_common_words").documnt(str(datetime.today().date())).add(dict(most_common_words))
66
 
67
 
68
  def feedback_common_words():
 
62
  else:
63
  most_common_words[word] = 1
64
  most_common_words = sorted(most_common_words.items(), key=lambda x: x[1])
65
+ db.collection("per_day_common_words").document(str(datetime.today().date())).add(dict(most_common_words))
66
 
67
 
68
  def feedback_common_words():