Skip to content

Commit

Permalink
Fix Windows specific bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
audiodude authored and Griatch committed Sep 24, 2022
1 parent 47371d7 commit 39f6505
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evennia/server/evennia_launcher.py
Expand Up @@ -38,7 +38,7 @@

import evennia # noqa

EVENNIA_LIB = os.path.join(os.path.dirname(os.path.abspath(evennia.__file__)))
EVENNIA_LIB = os.path.join(EVENNIA_ROOT, "evennia")
EVENNIA_SERVER = os.path.join(EVENNIA_LIB, "server")
EVENNIA_TEMPLATE = os.path.join(EVENNIA_LIB, "game_template")
EVENNIA_PROFILING = os.path.join(EVENNIA_SERVER, "profiling")
Expand Down Expand Up @@ -1226,7 +1226,7 @@ def evennia_version():
version = "Unknown"
try:
version = evennia.__version__
except ImportError:
except (ImportError, AttributeError):
# even if evennia is not found, we should not crash here.
pass
try:
Expand Down

0 comments on commit 39f6505

Please sign in to comment.