mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
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)
|
||||
|
||||
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()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue