Fix owner env var

This commit is contained in:
2022-06-08 19:27:05 +01:00
parent 237db7fa7d
commit 8f5218c2bb

View File

@@ -170,7 +170,7 @@ def main():
# Set the owner ID if configured
if 'SMSBOT_OWNER_ID' in os.environ:
telegram_bot.set_owner(os.environ.get('SMS_OWNER_ID'))
telegram_bot.set_owner(os.environ.get('SMSBOT_OWNER_ID'))
# Add default subscribers
if 'SMSBOT_DEFAULT_SUBSCRIBERS' in os.environ: