mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-01 15:54:53 +00:00
Fix cauthreceiver for flask in python3
This has been logging errors since forever -- but still worked in practice :)
This commit is contained in:
@ -71,7 +71,7 @@ def application(environ, start_response):
|
||||
('Content-type', 'text/plain'),
|
||||
])
|
||||
return [
|
||||
"OK",
|
||||
b"OK",
|
||||
]
|
||||
except Exception as e:
|
||||
print("Error receiving cauth call: {}".format(e), file=sys.stderr)
|
||||
@ -81,5 +81,5 @@ def application(environ, start_response):
|
||||
])
|
||||
|
||||
return [
|
||||
"An internal server error occurred.\n",
|
||||
b"An internal server error occurred.\n",
|
||||
]
|
||||
|
Reference in New Issue
Block a user