Skip to content

Commit

Permalink
Fix error with ear communion (fix #39)
Browse files Browse the repository at this point in the history
  • Loading branch information
pguyot committed Dec 19, 2019
1 parent 11bba59 commit fea8493
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nabmastodond/nabmastodond.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ async def __config(self):

async def reload_config(self):
await self.setup_streaming(True)
await self.setup_initial_state()

def close_streaming(self):
if (
Expand Down Expand Up @@ -421,6 +422,8 @@ async def setup_initial_state(self):
config.spouse_left_ear_position,
config.spouse_right_ear_position,
)
else:
await self.send_stop_listening_to_ears()

def run(self):
super().connect()
Expand Down

0 comments on commit fea8493

Please sign in to comment.