Update site-list.py

This commit is contained in:
Arjix 2021-10-04 19:14:22 +03:00 committed by GitHub
parent 21662509d1
commit 674a1156dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,7 @@ for path in glob(GLOB):
except Exception as ex: except Exception as ex:
print("{0}: {1}".format(path, ex)) print("{0}: {1}".format(path, ex))
with open("../README.md", "r+", encoding='utf-8') as readme: with open("README.md", "r+", encoding='utf-8') as readme:
raw = readme.read() raw = readme.read()
if START_MARKER not in raw or END_MARKER not in raw: if START_MARKER not in raw or END_MARKER not in raw:
raise RuntimeError("Missing start and end markers") raise RuntimeError("Missing start and end markers")