From 0659ea69359564ec8d230fe67ffbd61a14358fe4 Mon Sep 17 00:00:00 2001 From: jantuomi Date: Wed, 20 Jul 2016 14:51:58 +0300 Subject: Remove default value 10 from interval option --- bot.config | 4 ++-- radiodiodibot | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bot.config b/bot.config index 0dcad5d..72593d0 100644 --- a/bot.config +++ b/bot.config @@ -1,5 +1,5 @@ [GENERAL] -TelegramBotToken=DEFAULT_TOKEN_123 +TelegramBotToken=208028818:AAFAeLDGsjp5vFi_ljdciuTODzRPufldeZo ShoutboxApiUrl=http://127.0.0.1:8000 TelegramChatID=123 -ApiCallInterval=5 \ No newline at end of file +ApiCallInterval=5 diff --git a/radiodiodibot b/radiodiodibot index 4bd53e0..2c1507d 100755 --- a/radiodiodibot +++ b/radiodiodibot @@ -36,7 +36,7 @@ parser.add_argument("-t", "--token", help="Telegram Bot API token") parser.add_argument("-U", "--shoutbox-api-url", help="Shoutbox API URL") parser.add_argument("-C", "--telegram-chat-id", help="Telegram Chat ID") parser.add_argument("-v", "--verbose", help="Verbose output", action="store_true") -parser.add_argument("-i", "--interval", help="Delay between API update calls in seconds", type=int, default=10) +parser.add_argument("-i", "--interval", help="Delay between API update calls in seconds", type=int) args = parser.parse_args() # Show verbose output with the -v option -- cgit v1.3