From 884920ab91aaf8e4ae4eeaf18b53b5d7ea337d00 Mon Sep 17 00:00:00 2001 From: 0xDEADFED5 Date: Thu, 3 Apr 2025 01:23:51 -0700 Subject: [PATCH] formatting =/ --- evennia/contrib/utils/debugpy/cmd.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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()