Fix docs building (#3263)

This commit is contained in:
Michael H
2020-01-03 19:13:14 -05:00
committed by GitHub
parent 743ce71c5c
commit 1d2dd19244
2 changed files with 7 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ INTRO = "==========================\nRed Discord Bot - Launcher\n===============
IS_WINDOWS = os.name == "nt"
IS_MAC = sys.platform == "darwin"
PYTHON_OK = sys.version_info >= MIN_PYTHON_VERSION
PYTHON_OK = sys.version_info >= MIN_PYTHON_VERSION or os.getenv("READTHEDOCS", False)
def is_venv():