Fixed bug in database maintenance page, should fix GH-29

This commit is contained in:
Krateng 2020-08-27 15:53:33 +02:00
parent 75bd823ad0
commit fb04dd507c
3 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,7 @@ author = {
"email":"maloja@krateng.dev",
"github": "krateng"
}
version = 2,7,8
version = 2,7,9
versionstr = ".".join(str(n) for n in version)
links = {
"pypi":"malojaserver",

View File

@ -11,3 +11,4 @@ countas Li Yitong SNH48
countas Dai Meng SNH48
countas Mo Han SNH48
countas Su Shanshan SNH48
countas Lin Hui S.I.N.G.

Can't render this file because it has a wrong number of fields in line 4.

View File

@ -58,7 +58,7 @@
{% for issue in issuedata.combined %}
<tr>
<td>{{ artistLink(issue[0]) }} sounds like the combination of {{ len(issue[1]) }} artists:
<td>{{ htmlgenerators.artistLink(issue[0]) }} sounds like the combination of {{ issue[1].__len__() }} artists:
{{ issue[1]|join(", ") }}
</td>
<td class='button' onclick="newrule(this,'replaceartist','{{ issue[0] }}','{{ issue[1] | join('␟') }}')"><div>Fix it</div></td>