From 657daa413604c2f20f1050389f965079fb4c053e Mon Sep 17 00:00:00 2001 From: N0str Date: Sun, 7 Jan 2018 11:22:25 +0300 Subject: [PATCH] Inform about first commit to the newly created branch --- github/events/push.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/events/push.py b/github/events/push.py index 584eca8..cc09789 100644 --- a/github/events/push.py +++ b/github/events/push.py @@ -65,7 +65,7 @@ async def process(self, payload, chat_id): if bool(payload['created']): self.sdk.log('Branch %s has been created' % payload['ref']) - return + self.commits.append(Commit(payload['head_commit'])) # Start building message