Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Morg42 committed Nov 24, 2023
1 parent fb51fda commit 36d417a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helios/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,10 +432,10 @@ def __init__(self):
def run(self):
self.connect()
self._alive = True
self._sh.scheduler.add('Helios', self._update, cycle=self._cycle)
self.scheduler_add('Helios', self._update, cycle=self._cycle)

def stop(self):
self._sh.scheduler.remove('Helios')
self.scheduler_remove('Helios')
self.disconnect()
self._alive = False

Expand Down

0 comments on commit 36d417a

Please sign in to comment.