From 2b99aeef0f9909d0551ace279e124c65be9ec23c Mon Sep 17 00:00:00 2001 From: "Christopher K. Hoadley" Date: Fri, 8 May 2020 23:39:41 -0500 Subject: [PATCH] Fix path to data file when doing site update. --- site_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site_list.py b/site_list.py index bd35093..63b6ebb 100644 --- a/site_list.py +++ b/site_list.py @@ -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!")