Skip to content

Commit

Permalink
Update info.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TamilanBotsZ authored Feb 6, 2023
1 parent 3bd121d commit 94abaa3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions info.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,11 @@ def is_enabled(value, default):
LOG_STR += (f"MAX_LIST_ELM Found, long list will be shortened to first {MAX_LIST_ELM} elements\n" if MAX_LIST_ELM else "Full List of casts and crew will be shown in imdb template, restrict them by adding a value to MAX_LIST_ELM\n")
LOG_STR += f"Your current IMDB template is {IMDB_TEMPLATE}"

AUTO_DELETE_SECONDS = environ.get("AUTO_DELETE_SECONDS", '180')
SELF_DELETE_SECONDS = int(environ.get('SELF_DELETE_SECONDS', 300))
SELF_DELETE = environ.get('SELF_DELETE', True)
if SELF_DELETE == "True":
SELF_DELETE = True

URL_SHORTENR_WEBSITE = environ.get('URL_SHORTENR_WEBSITE', 'shorturllink.in')
URL_SHORTENR_WEBSITE = environ.get('URL_SHORTENR_WEBSITE', '')
URL_SHORTNER_WEBSITE_API = environ.get('URL_SHORTNER_WEBSITE_API', '')

0 comments on commit 94abaa3

Please sign in to comment.