Fix parent dir url

This commit is contained in:
relikd
2020-09-24 12:06:56 +02:00
parent 500f38b6b4
commit 31a84b4112

View File

@@ -15,7 +15,7 @@ def process(affected=None, per_page=60):
arr.append((cid, cat))
if affected and cid not in affected:
continue
pre = HTML.h2(HTML.a_path([(parent, '../')], cat))
pre = HTML.h2(HTML.a_path([(parent, '..')], cat))
_, a = HTML.write_app_pages(mylib.path_add(base, cid), apps, cat,
per_page, pre=pre)
print(' {} ({})'.format(cat, a))