Skip to content
This repository has been archived by the owner on Apr 29, 2022. It is now read-only.

fix type error #79

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion flask_sockets.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def register_blueprint(self, blueprint, **options):

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
Expand Down