Skip to content

Commit

Permalink
Applied black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
YnotCode committed Mar 29, 2024
1 parent 2a8ad09 commit 91b4056
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/teleoperation/backend/consumers.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,11 @@ def receive(self, text_data):
self.calibrate_motors(message)
elif message["type"] == "arm_adjust":
self.arm_adjust(message)
elif ( message["type"] == "arm_values" or
message["type"] == "cache_values" or
message["type"] == "sa_arm_values" ):
elif (
message["type"] == "arm_values"
or message["type"] == "cache_values"
or message["type"] == "sa_arm_values"
):
self.handle_controls_message(message)
elif message["type"] == "enable_white_leds":
self.enable_white_leds_callback(message)
Expand Down
1 change: 1 addition & 0 deletions src/teleoperation/teleoperation/asgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
For more information on this file, see
https://docs.djangoproject.com/en/4.2/howto/deployment/asgi/
"""

import os
from channels.auth import AuthMiddlewareStack
from channels.routing import ProtocolTypeRouter, URLRouter
Expand Down

0 comments on commit 91b4056

Please sign in to comment.