Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
5hojib committed Sep 17, 2024
1 parent 792d314 commit f9ff2b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions bot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ def get_env_int(key):
"STREAMWISH_API": environ.get("STREAMWISH_API", ""),
"SUDO_USERS": environ.get("SUDO_USERS", ""),
"TOKEN_TIMEOUT": get_env_int("TOKEN_TIMEOUT"),
"UPSTREAM_REPO": environ.get("UPSTREAM_REPO", "https://github.com/5hojib/Aeon")
"UPSTREAM_BRANCH": environ.get("UPSTREAM_BRANCH", "main"),
"USER_SESSION_STRING": environ.get("USER_SESSION_STRING", ""),
"USE_SA": environ.get("USE_SA", "").lower() == "true",
Expand Down
2 changes: 2 additions & 0 deletions bot/modules/bot_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ async def load_config():
)

UPSTREAM_BRANCH = environ.get("UPSTREAM_BRANCH", "main")
UPSTREAM_REPO = environ.get("UPSTREAM_REPO", "https://github.com/5hojib/Aeon")
DRIVES_IDS.clear()
DRIVES_NAMES.clear()
INDEX_URLS.clear()
Expand Down Expand Up @@ -485,6 +486,7 @@ async def load_config():
"SUDO_USERS": SUDO_USERS,
"TOKEN_TIMEOUT": TOKEN_TIMEOUT,
"UPSTREAM_BRANCH": UPSTREAM_BRANCH,
"UPSTREAM_REPO": UPSTREAM_REPO,
"USER_SESSION_STRING": USER_SESSION_STRING,
"USE_SA": USE_SA,
"YT_DLP_OPTIONS": YT_DLP_OPTIONS,
Expand Down

0 comments on commit f9ff2b2

Please sign in to comment.