Fix README path

This commit is contained in:
Kevo 2022-02-27 08:50:47 +01:00
parent 56d70e7230
commit 89eafeaa10

View file

@ -8,7 +8,7 @@ from .models.comments import Comments
# For pdoc: # For pdoc:
README_PATH = Path(__file__).parent.absolute() / Path('README.md') README_PATH = Path(__file__).parent.parent.absolute() / Path('README.md')
try: try:
with open(README_PATH, 'r', encoding="UTF-8") as readme: with open(README_PATH, 'r', encoding="UTF-8") as readme:
__readme__ = readme.read() __readme__ = readme.read()