Fix version return of evennia -v

This commit is contained in:
Griatch 2022-11-13 18:17:57 +01:00
parent 13cf10ddff
commit 804e44c3f0

View file

@ -1253,6 +1253,8 @@ def evennia_version():
except (ImportError, AttributeError):
# even if evennia is not found, we should not crash here.
pass
else:
return version
try:
rev = (
check_output("git rev-parse --short HEAD", shell=True, cwd=EVENNIA_ROOT, stderr=STDOUT)