Fix of conf error report

This commit is contained in:
Griatch 2020-06-12 22:18:26 +02:00
parent e26e9c5df5
commit a259c88486

View file

@ -20,10 +20,10 @@ if not _no_autodoc:
GAME_DIR = os.environ.get("EVGAMEDIR")
if not (EV_ROOT and GAME_DIR):
print("The EVDIR and EVGAMEDIR environment variables must be set to "
err = ("The EVDIR and EVGAMEDIR environment variables must be set to "
"the absolute paths to the evennia/ repo and an initialized "
"evennia gamedir respectively.")
raise RuntimeError()
raise RuntimeError(err)
print("Evennia root: {}, Game dir: {}".format(EV_ROOT, GAME_DIR))