Skip to content

Commit

Permalink
Fix spaces in README example (#704)
Browse files Browse the repository at this point in the history
There shouldn't be spaces when defining values for attributes (PEP8)
  • Loading branch information
varfigstar authored Jun 9, 2021
1 parent 150df4f commit 3c7ef93
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ def on_open(ws):
if __name__ == "__main__":
websocket.enableTrace(True)
ws = websocket.WebSocketApp("ws://echo.websocket.org/",
on_open = on_open,
on_message = on_message,
on_error = on_error,
on_close = on_close)
on_open=on_open,
on_message=on_message,
on_error=on_error,
on_close=on_close)

ws.run_forever()
```
Expand Down

0 comments on commit 3c7ef93

Please # to comment.