fix(database): 将下载模板中的 title 变量更改为 torrent_title

This commit is contained in:
Attente
2025-05-17 19:45:49 +08:00
parent 3f03963811
commit 411b5e0ca6
+1 -1
View File
@@ -37,7 +37,7 @@ def upgrade() -> None:
'text': '{% if site_name %}站点:{{ site_name }}{% endif %}'
'{% if resource_term %}\\n质量:{{ resource_term }}{% endif %}'
'{% if size %}\\n大小:{{ size }}{% endif %}'
'{% if title %}\\n种子:{{ title }}{% endif %}'
'{% if torrent_title %}\\n种子:{{ torrent_title }}{% endif %}'
'{% if pubdate %}\\n发布时间:{{ pubdate }}{% endif %}'
'{% if freedate %}\\n免费时间:{{ freedate }}{% endif %}'
'{% if seeders %}\\n做种数:{{ seeders }}{% endif %}'