Create individual category json

This commit is contained in:
relikd
2020-09-25 16:39:27 +02:00
parent b9036ec125
commit f7d0b9353d
9 changed files with 179 additions and 153 deletions

View File

@@ -64,7 +64,7 @@ def write_ranking_list(index):
# TODO: doesnt scale well, 100'000 apps ~> 12mb
if len(ret) > 500: # limit to most recent X entries
ret = ret[:500]
# ret.sort(key=lambda x: x[1].lower()) # sort by name
# mylib.sort_by_name(ret, 1)
mylib.json_write(fname_ranking_list(), ret, pretty=False)