Skip to content

Commit

Permalink
bool better than eval ?
Browse files Browse the repository at this point in the history
  • Loading branch information
SpEcHiDe authored Nov 1, 2021
1 parent 940a088 commit 6919b7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions info.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
LOG_CHANNEL = int(environ.get('LOG_CHANNEL', ''))
SUPPORT_CHAT = environ.get('SUPPORT_CHAT', 'TeamEvamaria')
P_TTTI_SHOW_OFF = eval((environ.get('P_TTTI_SHOW_OFF', "False")))
IMDB = eval((environ.get('IMDB', "True")))
SINGLE_BUTTON = eval((environ.get('SINGLE_BUTTON', "False")))
IMDB = bool((environ.get('IMDB', True)))
SINGLE_BUTTON = bool((environ.get('SINGLE_BUTTON', False)))
CUSTOM_FILE_CAPTION = environ.get("CUSTOM_FILE_CAPTION", None)

0 comments on commit 6919b7d

Please sign in to comment.