aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2020-04-24 17:24:57 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2020-04-24 17:24:57 +0200
commite9f1e4e72454638067ac092c8eac9300cf30f636 (patch)
tree7f493ad9932eb7b4506bad7c79907ac68b8119ed
parentbf9c2444942e861c1b5cae24573acb71ac7a4cae (diff)
Debug
-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)