Skip to content

Commit

Permalink
Update paths.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MacHu-GWU committed Sep 18, 2022
1 parent 6c34579 commit 5c2c5a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wotlkdoc/docs/paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from pathlib_mate import Path


if "READTHEDOCS" in os:
if "READTHEDOCS" in os.environ:
dir_project_root = Path.cwd().parent.parent
else:
dir_project_root = Path.dir_here(__file__).parent.parent
Expand Down

0 comments on commit 5c2c5a8

Please sign in to comment.