Skip to content

Commit

Permalink
5 attempt (nickoala/telepot#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
b0g3r committed Oct 25, 2016
1 parent 4a2e61f commit a74d76f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
web: gunicorn main:app
web: gunicorn main:app --log-file -
init: python model.py
1 change: 1 addition & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ def webhook_get_updates():

def init():
if os.environ.get('LOCAL') != 'YES':
time.sleep(2)
bot.setWebhook('%s/%s/%s' % (url, 'webhook', token))
else:
bot.setWebhook('')
Expand Down

0 comments on commit a74d76f

Please sign in to comment.