From 8f5218c2bb7a32c344878c3ce38e9587fe249874 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Wed, 8 Jun 2022 19:27:05 +0100 Subject: [PATCH] Fix owner env var --- smsbot/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smsbot/__init__.py b/smsbot/__init__.py index 1a3700f..f82a9eb 100644 --- a/smsbot/__init__.py +++ b/smsbot/__init__.py @@ -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: