mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-12-01 00:38:13 +08:00
2.5.19
- 修复语言选择不生效的bug
This commit is contained in:
@@ -15,4 +15,6 @@ ADD ./templates /templates
|
||||
|
||||
RUN chmod a+x run.sh
|
||||
|
||||
EXPOSE 7892
|
||||
|
||||
CMD ["./run.sh"]
|
||||
|
||||
@@ -19,7 +19,7 @@ DEFAULT_SETTINGS = {
|
||||
"dev_debug": False,
|
||||
"eps_complete": False,
|
||||
"webui_port": 7892,
|
||||
"title_language": "zh",
|
||||
"language": "zh",
|
||||
"tmdb_api": "32b19d6a05b512190a056fa4e747cbbc",
|
||||
"enable_tmdb": False,
|
||||
"socks": None,
|
||||
@@ -49,7 +49,7 @@ ENV_TO_ATTR = {
|
||||
"AB_REMOVE_BAD_BT": ("remove_bad_torrent", lambda e: e.lower() in ("true", "1", "t")),
|
||||
"AB_WEBUI_PORT": ("webui_port", lambda e: int(e)),
|
||||
"AB_HTTP_PROXY": "http_proxy",
|
||||
"AB_LANGUAGE": "title_language",
|
||||
"AB_LANGUAGE": "language",
|
||||
"AB_ENABLE_TMDB": ("enable_tmdb", lambda e: e.lower() in ("true", "1", "t")),
|
||||
"AB_SOCKS": "socks",
|
||||
"AB_RENAME": ("enable_rename", lambda e: e.lower() in ("true", "1", "t")),
|
||||
|
||||
Reference in New Issue
Block a user