Fix of conf error report

This commit is contained in:
Griatch 2020-06-12 22:18:26 +02:00
parent f5ae22e01b
commit 3bd1c4bd1d

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))