diff --git a/src/html_index_domains.py b/src/html_index_domains.py index 322a9b1..f2c7cc1 100755 --- a/src/html_index_domains.py +++ b/src/html_index_domains.py @@ -123,6 +123,8 @@ def gen_stats(c_apps, c_domains, title):
  • List of Requested Domains
  • List of Trackers
  • '''.format(title, c_apps, c_domains, c_recordings, c_logs), title=title) + mylib.symlink(index_meta.fname_app_rank(), + mylib.path_out('stats', 'rank.json')) # after HTML.write def process(): diff --git a/src/index_meta.py b/src/index_meta.py index e5573b1..62849c5 100755 --- a/src/index_meta.py +++ b/src/index_meta.py @@ -95,10 +95,7 @@ def write_rank_index(index): index['_ranks'] = len(index) index['_min'] = mins index['_max'] = maxs - # write evaluated file - fname = fname_app_rank() - mylib.json_write(fname, index, pretty=False) - mylib.symlink(fname, mylib.path_out('stats', 'rank.json')) + mylib.json_write(fname_app_rank(), index, pretty=False) def get_total_counts():