Skip to content

Commit e5ad3c4

Browse files
committed
fix incorrect path, closes #2140
1 parent 945a364 commit e5ad3c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

devel/site-list.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import json
55

66
# Read the data.json file
7-
with open("../sherlock/resources/data.json", "r", encoding="utf-8") as data_file:
7+
with open("sherlock/resources/data.json", "r", encoding="utf-8") as data_file:
88
data: dict = json.load(data_file)
99

1010
# Removes schema-specific keywords for proper processing
@@ -23,7 +23,7 @@
2323
site_file.write(f"1. ![](https://www.google.com/s2/favicons?domain={url_main}) [{social_network}]({url_main}) {is_nsfw}\n")
2424

2525
# Overwrite the data.json file with sorted data
26-
with open("../sherlock/resources/data.json", "w") as data_file:
26+
with open("sherlock/resources/data.json", "w") as data_file:
2727
sorted_data = json.dumps(data, indent=2, sort_keys=True)
2828
data_file.write(sorted_data)
2929
data_file.write("\n")

0 commit comments

Comments
 (0)