DS3: Clarify location names for Yoel and Yuria items (#3881)

* DS3: Clarify location names for Yoel and Yuria items

* Fix encodings for `detailed_location_descriptions.py`

* Fix one more typo
This commit is contained in:
Natalie Weizenbaum
2024-11-30 20:00:06 -08:00
committed by GitHub
parent ed721dd0c1
commit 7b755408fa
4 changed files with 47 additions and 43 deletions

View File

@@ -84,7 +84,11 @@ if __name__ == '__main__':
table += f"<tr><td>{html.escape(name)}</td><td>{html.escape(description)}</td></tr>\n"
table += "</table>\n"
with open(os.path.join(os.path.dirname(__file__), 'docs/locations_en.md'), 'r+') as f:
with open(
os.path.join(os.path.dirname(__file__), 'docs/locations_en.md'),
'r+',
encoding='utf-8'
) as f:
original = f.read()
start_flag = "<!-- begin location table -->\n"
start = original.index(start_flag) + len(start_flag)