From e3b6a4437657b22e1bf2f027c9309b48acf9ab60 Mon Sep 17 00:00:00 2001 From: David Shadow <92687730+David-Shadow@users.noreply.github.com> Date: Sun, 12 Dec 2021 22:39:28 +0530 Subject: [PATCH] =?UTF-8?q?some=20typos=20ig=F0=9F=98=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tobrot/__init__.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tobrot/__init__.py b/tobrot/__init__.py index 03d38ba5..882ccb70 100644 --- a/tobrot/__init__.py +++ b/tobrot/__init__.py @@ -53,9 +53,9 @@ # The Telegram API things TG_BOT_TOKEN = os.environ.get("TG_BOT_TOKEN", "") -APP_ID = int(os.environ.get("APP_ID", "12345")) +APP_ID = int(os.environ.get("APP_ID", 12345)) API_HASH = os.environ.get("API_HASH") -OWNER_ID = int(os.environ.get("OWNER_ID", "539295917")) +OWNER_ID = int(os.environ.get("OWNER_ID", 539295917)) # Get these values from my.telegram.org # to store the channel ID who are authorized to use the bot @@ -70,7 +70,7 @@ AUTH_CHANNEL.append(539295917) AUTH_CHANNEL.append(OWNER_ID) # chunk size that should be used with requests -CHUNK_SIZE = int(os.environ.get("CHUNK_SIZE", "128")) +CHUNK_SIZE = int(os.environ.get("CHUNK_SIZE", 128)) # default thumbnail to be used in the videos DEF_THUMB_NAIL_VID_S = os.environ.get( "DEF_THUMB_NAIL_VID_S", "https://via.placeholder.com/90.jpg" @@ -81,12 +81,12 @@ PROCESS_MAX_TIMEOUT = 3600 # SP_LIT_ALGO_RITH_M = os.environ.get("SP_LIT_ALGO_RITH_M", "hjs") -ARIA_TWO_STARTED_PORT = int(os.environ.get("ARIA_TWO_STARTED_PORT", "6800")) -EDIT_SLEEP_TIME_OUT = int(os.environ.get("EDIT_SLEEP_TIME_OUT", "15")) +ARIA_TWO_STARTED_PORT = int(os.environ.get("ARIA_TWO_STARTED_PORT", 6800)) +EDIT_SLEEP_TIME_OUT = int(os.environ.get("EDIT_SLEEP_TIME_OUT", 15)) MAX_TIME_TO_WAIT_FOR_TORRENTS_TO_START = int( os.environ.get("MAX_TIME_TO_WAIT_FOR_TORRENTS_TO_START", 600) ) -MAX_TG_SPLIT_FILE_SIZE = int(os.environ.get("MAX_TG_SPLIT_FILE_SIZE", "1072864000")) +MAX_TG_SPLIT_FILE_SIZE = int(os.environ.get("MAX_TG_SPLIT_FILE_SIZE", 1072864000)) # add config vars for the display progress FINISHED_PROGRESS_STR = os.environ.get("FINISHED_PROGRESS_STR", "█") UN_FINISHED_PROGRESS_STR = os.environ.get("UN_FINISHED_PROGRESS_STR", "░")