diff options
author | Kali Kaneko <kali@leap.se> | 2017-02-14 23:31:36 +0100 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-02-15 01:20:55 +0100 |
commit | e4a9127914dac8cf2cd8b8f7a4e48bbcf1de7a5d (patch) | |
tree | 520b6b4a2df1d2389700319f4d5a72f0d42a314f /server/src | |
parent | 4d26c3c6ee43f110f30e0fb1c14d93f847c3081b (diff) |
[feature] add version to the banner
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/leap/soledad/server/_server_info.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/leap/soledad/server/_server_info.py b/server/src/leap/soledad/server/_server_info.py index a1dd3555..50659338 100644 --- a/server/src/leap/soledad/server/_server_info.py +++ b/server/src/leap/soledad/server/_server_info.py @@ -21,6 +21,8 @@ import json from twisted.web.resource import Resource +from leap.soledad.server import __version__ + __all__ = ['ServerInfo'] @@ -35,6 +37,7 @@ class ServerInfo(Resource): def __init__(self, blobs_enabled): self._info = { "blobs": blobs_enabled, + "version": __version__ } def render_GET(self, request): |