Skip to content

Commit

Permalink
Fix bug #8
Browse files Browse the repository at this point in the history
This function return Boolean. not an integer
  • Loading branch information
mu-hun committed Aug 5, 2018
1 parent 6871c18 commit 7699b18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
def send_commit_status():
commitevent = GetEvent()
user_status = commitevent.handle()
if user_status == 0:
if user_status == False:
get(api + '/sendSticker', data={'chat_id':chat_id, 'sticker':sticker})
get(api + '/sendMessage', data={'chat_id':chat_id, 'text':message, 'parse_mode':'HTML'})

Expand Down

0 comments on commit 7699b18

Please sign in to comment.