diff options
| author | Jan Tuomi <jan.tuomi@valuemotive.com> | 2021-02-14 14:55:55 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan.tuomi@valuemotive.com> | 2021-02-14 14:55:55 +0200 |
| commit | fbdf6c694b5a92a663eac78230a85a47964a84a1 (patch) | |
| tree | 03f8710ad9afcf144a4567ea13bf5b3d072237a5 /hommaexceli_py/main.py | |
| parent | 2319c4cb14757e69fd8d1b74c9daf4e1f19c7249 (diff) | |
Only allow specified user ids to start bot
Diffstat (limited to 'hommaexceli_py/main.py')
| -rw-r--r-- | hommaexceli_py/main.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hommaexceli_py/main.py b/hommaexceli_py/main.py index 645c6f3..90ad361 100644 --- a/hommaexceli_py/main.py +++ b/hommaexceli_py/main.py @@ -1,12 +1,14 @@ import logging from os import environ from dotenv import load_dotenv, dotenv_values + +load_dotenv() + from telegram_client import run_telegram logging.basicConfig( level=logging.INFO, format="%(asctime)s | %(name)s | %(levelname)s | %(message)s" ) -load_dotenv() def main(): |
