Removed redundant conversion to string in config.py

According to [os.getenv()](https://docs.python.org/3/library/os.html#os.getenv) documentation, a string is returned, no need to wrap the result in `str()` again.
This commit is contained in:
Groosha
2020-11-07 03:36:20 +03:00
committed by GitHub
parent 7d4d390632
commit f5e22c3569

View File

@@ -4,7 +4,7 @@ from dotenv import load_dotenv
load_dotenv()
BOT_TOKEN = str(os.getenv("BOT_TOKEN"))
BOT_TOKEN = os.getenv("BOT_TOKEN")
admins = [
os.getenv("ADMIN_ID"),