Use int instead of str for the response code

This commit is contained in:
flan 2017-11-05 22:17:30 +01:00
parent 978b1d7371
commit 65bef264be

View File

@ -508,7 +508,7 @@ class SyncApp:
del data['cv']
if old_client(session.client_version):
return Response(status="501") # client needs upgrade
return Response(status=501) # client needs upgrade
self.session_manager.save(hkey, session)
session = self.session_manager.load(hkey, self.create_session)