Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bartei committed Dec 28, 2023
1 parent 7ce7d6c commit 938c4c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rotary_controller_python/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from rotary_controller_python.utils import communication

from rotary_controller_python.components.appsettings import config

# from rotary_controller_python.dispatchers.scale import ScaleClass
from rotary_controller_python.network.models import Wireless, NetworkInterface

Expand All @@ -46,7 +47,7 @@ def __init__(self, device, **kv):
self.coord_bars = coord_bars

self.servo = ServoBar(device=self.device)
self.ids['bars_container'].add_widget(self.servo)
self.ids["bars_container"].add_widget(self.servo)


class MainApp(App):
Expand Down Expand Up @@ -103,7 +104,6 @@ def open_custom_settings(self):
def update(self, *args):
if self.device.connected:
for i in range(len(self.device.scales)):
# self.data[i].position = self.device.scales[i].position / 1000
self.home.coord_bars[i].position = self.device.scales[i].position / 1000

self.task_counter = (self.task_counter + 1) % 5
Expand Down

0 comments on commit 938c4c7

Please sign in to comment.