diff --git a/evennia/contrib/utils/debugpy/cmd.py b/evennia/contrib/utils/debugpy/cmd.py index 6d4dd61522..71f0b9116b 100644 --- a/evennia/contrib/utils/debugpy/cmd.py +++ b/evennia/contrib/utils/debugpy/cmd.py @@ -4,10 +4,13 @@ from evennia.utils import utils COMMAND_DEFAULT_CLASS = utils.class_from_module(settings.COMMAND_DEFAULT_CLASS) +ERROR_MSG = """Error, debugpy not found! Please install debugpy by running: `pip install debugpy` +After that please reboot Evennia with `evennia reboot`""" + try: import debugpy except ImportError: - print("Error, debugpy not found! Please install debugpy by running: `pip install debugpy`\nAfter that please reboot Evennia with `evennia reboot`") + print(ERROR_MSG) sys.exit()