From a34338925be2eb835cedab71e3368562176aef1c Mon Sep 17 00:00:00 2001 From: VoiceOfSha <116538465+VoiceOfSha@users.noreply.github.com> Date: Tue, 7 Feb 2023 07:10:26 +0530 Subject: [PATCH] Update info.py --- info.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/info.py b/info.py index d2c73fb..b1c0303 100644 --- a/info.py +++ b/info.py @@ -64,10 +64,10 @@ 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}" -SELF_DELETE_SECONDS = int(environ.get('SELF_DELETE_SECONDS', 300)) -SELF_DELETE = environ.get('SELF_DELETE', True) -if SELF_DELETE == "True": - SELF_DELETE = True +AUTO_DELETE_SECONDS = int(environ.get('AUTO_DELETE_SECONDS', 300)) +AUTO_DELETE = environ.get('AUTO_DELETE', True) +if AUTO_DELETE == "True": + AUTO_DELETE = True URL_SHORTENR_WEBSITE = environ.get('URL_SHORTENR_WEBSITE', '') URL_SHORTNER_WEBSITE_API = environ.get('URL_SHORTNER_WEBSITE_API', '')