fix: Queue reset button not working - add base class fallback
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
title: "애니 다운로더"
|
||||
version: "0.4.6"
|
||||
version: "0.4.7"
|
||||
package_name: "anime_downloader"
|
||||
developer: "projectdx"
|
||||
description: "anime downloader"
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user