diff --git a/mastochess.py b/mastochess.py index 4e0e1a9..d6a9118 100644 --- a/mastochess.py +++ b/mastochess.py @@ -120,7 +120,7 @@ def get_new_notifications(): if last_posted != "": - if last_notif_created_at == last_posted: + if last_notif_created_at <= last_posted: cur.close() @@ -659,6 +659,8 @@ def next_move(playing_user): def replying(): + reply = False + moving = '' content = cleanhtml(text) @@ -815,7 +817,7 @@ if __name__ == '__main__': n_created_datetime = n_created_at.strftime("%d/%m/%Y, %H:%M:%S") - if n_created_datetime < last_posted: + if n_created_datetime <= last_posted: i +=1