clarifying names

master
Castro0o 10 years ago
parent db981d3b6f
commit 87edf69645

File diff suppressed because one or more lines are too long

@ -101,7 +101,7 @@ def api_category(category, year): #Find all pages incategory and add to allworks
print print
api_category('Graduation work', '2013') api_category('Graduation work', '2013')
json_allworks = open('md_allworks.json', 'w') # save json json_allworks = open('allworks_mmdc.json', 'w') # save json
json.dump(allworks, json_allworks ) json.dump(allworks, json_allworks )
## TO DO ## TO DO

@ -19,7 +19,7 @@ function query(workid){
} }
function readJSON(){ function readJSON(){
$.getJSON( "md_allworks.json", function(data){ $.getJSON( "allworks_mmdc.json", function(data){
myjson=data; myjson=data;
console.log(myjson); console.log(myjson);
console.log(Object.keys(myjson)); console.log(Object.keys(myjson));

Loading…
Cancel
Save