Filename in py not js

This commit is contained in:
relikd
2020-09-26 10:22:10 +02:00
parent d8f75c79f6
commit 8e7e09d0dc
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
function lookup_rank_js(bundle_id) {
loadJSON('/results/rank.json', function(response) {
function lookup_rank_js(fname, bundle_id) {
loadJSON(fname, function(response) {
let json = JSON.parse(response);
if (!json) { return; }
let rank = json[bundle_id];