Fix function call

This commit is contained in:
Klaus-Uwe Mitterer 2017-02-08 13:12:05 +01:00
parent cfa2404bbb
commit 891eaf1627

2
bot.py
View file

@ -13,7 +13,7 @@ def auth(bot, update):
bot.sendMessage(chat_id=update.message.chat_id, text="Ooops. Not implemented yet.")
def unauth(bot, update):
dbtools.deleteUser(update.message.chat_id)
dbtools.dbHelper().deleteUser(update.message.chat_id)
bot.sendMessage(chat_id=update.message.chat_id, text=strings.unauth % setuptools.url())
updater.dispatcher.add_handler(telegram.ext.CommandHandler("start", start))