Skip to content

Commit

Permalink
Fix sampleproject view
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Scarlato (Jungmann) committed May 25, 2017
1 parent ab9f3d4 commit 5c20418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sampleproject/bot/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
# Create your views here.
def index(request):
bot_list = DjangoTelegramBot.bots
context = {'bot_list': bot_list, 'update_mode':settings.TELEGRAM_BOT_MODE}
context = {'bot_list': bot_list, 'update_mode':settings.DJANGO_TELEGRAMBOT['MODE']}
return render(request, 'bot/index.html', context)

0 comments on commit 5c20418

Please sign in to comment.