Skip to content

Commit 33ba354

Browse files
author
Matthew Fisher
committed
style(controller): remove newline characters from response
1 parent 3e367f3 commit 33ba354

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

controller/api/middleware.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ def process_request(self, request):
1515
server_version = __version__.rsplit('.', 1)[0]
1616
if client_version != server_version:
1717
message = {
18-
'error': 'Client and server versions do not match.\n' +
19-
'Client version: {}\n'.format(client_version) +
18+
'error': 'Client and server versions do not match. ' +
19+
'Client version: {} '.format(client_version) +
2020
'Server version: {}'.format(server_version)
2121
}
2222
return HttpResponse(

0 commit comments

Comments
 (0)