Skip to content
This repository has been archived by the owner on Oct 16, 2022. It is now read-only.

Commit

Permalink
Merge pull request #19 from David-Shadow/patch-2
Browse files Browse the repository at this point in the history
some typos ig😶
  • Loading branch information
AmirulAndalib authored Dec 15, 2021
2 parents e0e67ec + e3b6a44 commit ddd7d11
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tobrot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand All @@ -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", "░")
Expand Down

0 comments on commit ddd7d11

Please sign in to comment.