mirror of
https://github.com/evennia/evennia.git
synced 2026-03-23 16:26:30 +01:00
Changing all text files to explicitly have .txt endings. This helps online code browsers to properly identify the files.
This commit is contained in:
parent
af99a80b4b
commit
056fee5c70
8 changed files with 18 additions and 5 deletions
|
|
@ -248,7 +248,7 @@ def get_evennia_version():
|
|||
Check for the evennia version info.
|
||||
"""
|
||||
try:
|
||||
f = open(settings.BASE_PATH + os.sep + "VERSION", 'r')
|
||||
f = open(settings.BASE_PATH + os.sep + "VERSION.txt", 'r')
|
||||
return "%s-r%s" % (f.read().strip(), os.popen("hg id -i").read().strip())
|
||||
except IOError:
|
||||
return "Unknown version"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue