Make compression options argument optional.

This commit is contained in:
Andreas Røsdal 2017-03-08 21:20:32 +01:00
parent 0ee36275d4
commit e249267ff9
1 changed files with 1 additions and 1 deletions

View File

@ -689,7 +689,7 @@ class WebSocketProtocol13(WebSocketProtocol):
else:
raise ValueError("unsupported extension %r", ext)
def _get_compressor_options(self, side, agreed_parameters, compression_options):
def _get_compressor_options(self, side, agreed_parameters, compression_options=None):
"""Converts a websocket agreed_parameters set to keyword arguments
for our compressor objects.
"""