From 891eaf16276edac1c28e730e65e091b9d315a523 Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Wed, 8 Feb 2017 13:12:05 +0100 Subject: [PATCH] Fix function call --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index eeeee10..689f712 100755 --- a/bot.py +++ b/bot.py @@ -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))