From 2cb5a755d3d384d47e7c8c9690397f7f886a5915 Mon Sep 17 00:00:00 2001 From: jantuomi Date: Wed, 20 Jul 2016 15:05:09 +0300 Subject: Replace last message dict with storing the last message id, fix type conversion problem --- radiodiodibot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'radiodiodibot') diff --git a/radiodiodibot b/radiodiodibot index 2c1507d..2cfc3dd 100755 --- a/radiodiodibot +++ b/radiodiodibot @@ -65,7 +65,7 @@ def main(): telegram_bot_token = config["GENERAL"]["TelegramBotToken"] shoutbox_api_url = config["GENERAL"]["ShoutboxApiUrl"] telegram_chat_id = config["GENERAL"]["TelegramChatID"] - api_call_interval = config["GENERAL"]["ApiCallInterval"] + api_call_interval = int(config["GENERAL"]["ApiCallInterval"]) # If the user has specified the parameters as command line # arguments, use them to override the config values -- cgit v1.3