From 66860e75e729838ca1a6bab9a415bd2a27124958 Mon Sep 17 00:00:00 2001 From: projectdx Date: Fri, 2 Jan 2026 16:56:31 +0900 Subject: [PATCH] fix: Queue reset button not working - add base class fallback --- info.yaml | 2 +- mod_anilife.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/info.yaml b/info.yaml index 2d74caa..d2943a7 100644 --- a/info.yaml +++ b/info.yaml @@ -1,5 +1,5 @@ title: "애니 다운로더" -version: "0.4.6" +version: "0.4.7" package_name: "anime_downloader" developer: "projectdx" description: "anime downloader" diff --git a/mod_anilife.py b/mod_anilife.py index c3bae8a..a1ad5ed 100644 --- a/mod_anilife.py +++ b/mod_anilife.py @@ -699,7 +699,10 @@ class LogicAniLife(AnimeModuleBase): logger.error(f"browse_dir error: {e}") return jsonify({"ret": "error", "error": str(e)}), 500 - return jsonify({"ret": "fail", "log": f"Unknown sub: {sub}"}) + + # Fallback to base class for common subs (queue_command, entity_list, browse_dir, command, etc.) + return super().process_ajax(sub, req) + except Exception as e: P.logger.error("AniLife process_ajax Exception:%s", e)