From e4a9127914dac8cf2cd8b8f7a4e48bbcf1de7a5d Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Tue, 14 Feb 2017 23:31:36 +0100 Subject: [feature] add version to the banner --- server/src/leap/soledad/server/_server_info.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'server/src') 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): -- cgit v1.2.3