Fix path to data file when doing site update.

pull/599/head
Christopher K. Hoadley 5 years ago
parent f2179ca7c9
commit 2b99aeef0f

@ -67,7 +67,7 @@ with open("sites.md", "w") as site_file:
sorted_json_data = json.dumps(data, indent=2, sort_keys=True)
with open("data.json", "w") as data_file:
with open("sherlock/resources/data.json", "w") as data_file:
data_file.write(sorted_json_data)
print("\nFinished updating supported site listing!")

Loading…
Cancel
Save