Skip to content
Snippets Groups Projects
Unverified Commit 9a1cceec authored by Will Hunt's avatar Will Hunt Committed by GitHub
Browse files

Use a string for versions

parent 2b39494c
No related branches found
No related tags found
No related merge requests found
......@@ -458,7 +458,7 @@ def run(hs):
stats["timestamp"] = now
stats["uptime_seconds"] = uptime
version = sys.version_info
stats["python_version"] = (version.major) + (version.minor / 10) + (version.micro / 100)
stats["python_version"] = "{}.{}.{}".format(version.major, version.minor, version.micro)
stats["total_users"] = yield hs.get_datastore().count_all_users()
total_nonbridged_users = yield hs.get_datastore().count_nonbridged_users()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment