fix type error
fix the type error so that logging works correctly
This commit is contained in:
parent
003660b70b
commit
bed2949d49
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ if ('Worker' in locals() and 'PyWSGIHandler' in locals() and
|
|||
|
||||
class GunicornWebSocketHandler(PyWSGIHandler, WebSocketHandler):
|
||||
def log_request(self):
|
||||
if '101' not in self.status:
|
||||
if '101' not in str(self.status):
|
||||
super(GunicornWebSocketHandler, self).log_request()
|
||||
|
||||
Worker.wsgi_handler = GunicornWebSocketHandler
|
||||
|
|
Loading…
Add table
Reference in a new issue