From f2698baa148d01460cf25fd9f904c897900c3e14 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Wed, 20 Feb 2019 23:09:52 +0100 Subject: [PATCH] [fix] we don't care about those --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index b6251c9..260531e 100644 --- a/server.py +++ b/server.py @@ -331,7 +331,7 @@ async def github(request): user = request.json["sender"]["login"] url = request.json["commit"]["html_url"] - if state != "success": + if state not in ("success", "pending"): notify(f"[{repository}] {description} {target_url} on commit {url}") else: print(f"Status weird stuff: [{repository}] @{user} state: {state}, description: {description}, target_url: {target_url} - {url}")