diff options
| author | jantuomi <jans.tuomi@gmail.com> | 2016-07-20 15:05:09 +0300 |
|---|---|---|
| committer | jantuomi <jans.tuomi@gmail.com> | 2016-07-20 15:05:09 +0300 |
| commit | 2cb5a755d3d384d47e7c8c9690397f7f886a5915 (patch) | |
| tree | 9061fcc3f9b2b062d53a9536b35ffee4dc596b9b /radiodiodibot | |
| parent | 0659ea69359564ec8d230fe67ffbd61a14358fe4 (diff) | |
Replace last message dict with storing the last message id, fix type conversion problem
Diffstat (limited to 'radiodiodibot')
| -rwxr-xr-x | radiodiodibot | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
