Skip to content

Commit

Permalink
fix: flake8 accepted formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
fungs authored and oberstet committed Apr 13, 2024
1 parent fa0bcc2 commit 2f1cf7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autobahn/wamp/component.py
Expand Up @@ -121,7 +121,7 @@ def _create_transport(index, transport, check_native_endpoint=None):
'type', 'url', 'endpoint', 'serializer', 'serializers', 'options',
'max_retries', 'max_retry_delay', 'initial_retry_delay',
'retry_delay_growth', 'retry_delay_jitter', 'proxy', 'headers'
]
]
for k in transport.keys():
if k not in valid_transport_keys:
raise ValueError(
Expand Down Expand Up @@ -160,7 +160,7 @@ def _create_transport(index, transport, check_native_endpoint=None):
raise ValueError(
'options must be a dict, not {}'.format(type(options))
)

headers = transport.get("headers")

if kind == 'websocket':
Expand Down

0 comments on commit 2f1cf7c

Please sign in to comment.