formatting =/
This commit is contained in:
parent
e01cedde5c
commit
884920ab91
1 changed files with 4 additions and 1 deletions
|
|
@ -4,10 +4,13 @@ from evennia.utils import utils
|
||||||
|
|
||||||
COMMAND_DEFAULT_CLASS = utils.class_from_module(settings.COMMAND_DEFAULT_CLASS)
|
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:
|
try:
|
||||||
import debugpy
|
import debugpy
|
||||||
except ImportError:
|
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()
|
sys.exit()
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue