mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fix version return of evennia -v
This commit is contained in:
parent
13cf10ddff
commit
804e44c3f0
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue