Switch to a simpler non-versioned automatic config update

This commit is contained in:
Tulir Asokan
2018-03-11 11:25:29 +02:00
parent ad67996d91
commit 715b658a3d
4 changed files with 96 additions and 144 deletions
+1 -1
View File
@@ -253,6 +253,6 @@ def init(context):
global config
config = context.config
token = config["telegram.bot_token"]
if token:
if token and not token.lower().startswith("disable"):
return Bot(token)
return None