Skip to content

Commit

Permalink
test new Dockerfile with python3.14 open alpha 4
Browse files Browse the repository at this point in the history
  • Loading branch information
5hojib committed Jan 22, 2025
1 parent e023f38 commit e4e38ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM 5hojib/aeon:latest
FROM 5hojib/aeon:beta

WORKDIR /usr/src/app
RUN chmod 777 /usr/src/app
Expand Down
2 changes: 0 additions & 2 deletions bot/core/config_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ def load(cls):
"BASE_URL",
"RCLONE_SERVE_URL",
"INDEX_URL",
"SEARCH_API_LINK",
]
and value
):
Expand All @@ -130,7 +129,6 @@ def load_dict(cls, config_dict):
"BASE_URL",
"RCLONE_SERVE_URL",
"INDEX_URL",
"SEARCH_API_LINK",
]
and value
):
Expand Down
9 changes: 2 additions & 7 deletions bot/modules/bot_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
"DOWNLOAD_DIR": "/usr/src/app/downloads/",
"LEECH_SPLIT_SIZE": TgClient.MAX_SPLIT_SIZE,
"RSS_DELAY": 600,
"SEARCH_LIMIT": 0,
"UPSTREAM_BRANCH": "main",
"DEFAULT_UPLOAD": "rc",
}
Expand Down Expand Up @@ -204,9 +203,7 @@ async def edit_variable(_, message, pre_message, key):
await update_buttons(pre_message, "var")
await delete_message(message)
await database.update_config({key: value})
if key in ["SEARCH_PLUGINS", "SEARCH_API_LINK"]:
await initiate_search_tools()
elif key in ["QUEUE_ALL", "QUEUE_DOWNLOAD", "QUEUE_UPLOAD"]:
if key in ["QUEUE_ALL", "QUEUE_DOWNLOAD", "QUEUE_UPLOAD"]:
await start_from_queued()
elif key in [
"RCLONE_SERVE_URL",
Expand Down Expand Up @@ -392,9 +389,7 @@ async def edit_bot_settings(client, query):
if data[2] == "DATABASE_URL":
await database.disconnect()
await database.update_config({data[2]: value})
if data[2] in ["SEARCH_PLUGINS", "SEARCH_API_LINK"]:
await initiate_search_tools()
elif data[2] in ["QUEUE_ALL", "QUEUE_DOWNLOAD", "QUEUE_UPLOAD"]:
if data[2] in ["QUEUE_ALL", "QUEUE_DOWNLOAD", "QUEUE_UPLOAD"]:
await start_from_queued()
elif data[2] in [
"RCLONE_SERVE_URL",
Expand Down

0 comments on commit e4e38ad

Please sign in to comment.