From a259c88486a53c51b503d28d8527e2ad0225557f Mon Sep 17 00:00:00 2001 From: Griatch Date: Fri, 12 Jun 2020 22:18:26 +0200 Subject: [PATCH] Fix of conf error report --- docs/source/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 1547ea52ff..454c5fa13a 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -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))