aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xnotify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/notify.py b/notify.py
index 8a57df5..9168dc6 100755
--- a/notify.py
+++ b/notify.py
@@ -19,6 +19,6 @@ data=client.games.get_ongoing()
for game in data:
opponent=game["opponent"]["username"]
lastMove=game["lastMove"]
- if not(game["isMyTurn"]):
+ if game["isMyTurn"]:
notify_send("Lichess ("+opponent+")","It is your turn !\n Your oppenent played "+lastMove)