Use int instead of str for the response code
This commit is contained in:
parent
978b1d7371
commit
65bef264be
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user