From 31a84b41120effb43c8219f7f7e801703bc40d53 Mon Sep 17 00:00:00 2001 From: relikd Date: Thu, 24 Sep 2020 12:06:56 +0200 Subject: [PATCH] Fix parent dir url --- src/html_categories.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/html_categories.py b/src/html_categories.py index c189a2a..139386e 100755 --- a/src/html_categories.py +++ b/src/html_categories.py @@ -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))