Fix app count in domain index

This commit is contained in:
relikd
2020-10-02 10:27:13 +02:00
parent 1ce995ea58
commit 9d241dbed1
2 changed files with 3 additions and 4 deletions

View File

@@ -30,6 +30,5 @@ remote-build:
local:
src/main.py run '*'
server:
@cd out
@open http://127.0.0.1
python3 -m http.server 80
@cd out && python3 -m http.server 80

View File

@@ -65,8 +65,8 @@ def gen_html_top_10(path, subset, total, title):
def gen_html_trinity(idx_dir, app_count, json, title, symlink):
list1 = [(dom, len(ids)) for dom, ids in json['subdom'].items()]
list2 = [(dom, len(ids)) for dom, ids in json['pardom'].items()]
list1 = [(dom, len(ids) - 1) for dom, ids in json['subdom'].items()]
list2 = [(dom, len(ids) - 1) for dom, ids in json['pardom'].items()]
def write_index(fname, title, button):
HTML.write(idx_dir, '<h2>{}</h2>{}{}'.format(