Fix more client/server version tests.

This commit is contained in:
grossmj 2018-01-18 16:14:09 +08:00
parent 2e40fb8608
commit 6fee543ce7

View File

@ -95,7 +95,7 @@ class ServerHandler:
})
def check_version(request, response):
if request.json["version"] != __version__:
raise HTTPConflict(text="Client version {} differs with server version {}".format(request.json["version"], __version__))
raise HTTPConflict(text="Client version {} is not the same as server version {}".format(request.json["version"], __version__))
response.json({"version": __version__})
@Route.get(