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:
parent
7d4d390632
commit
f5e22c3569
|
@ -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"),
|
||||
|
|
Loading…
Reference in New Issue
Block a user