Skip to content

Commit

Permalink
🚧 fix(wip): cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mxchinegod committed Dec 18, 2023
1 parent 58a56e5 commit ae7b45e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 95 deletions.
6 changes: 3 additions & 3 deletions magnet/ic/field.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ async def on(self, frequency: str = 'default', stream: str = 'default'):
except TimeoutError:
_f('fatal', f'could not connect to {self.server}')
async def off(self):
await self.sub.unsubscribe()
_f('warn', f'unsubscribed from {self.frequency}')
await self.js.unsubscribe()
_f('warn', f'unsubscribed from {self.stream}')
await self.nc.drain()
_f('warn', f'disconnected from {self.server}')
async def pulse(self, packet):
Expand Down Expand Up @@ -48,6 +48,6 @@ async def on(self, frequency: str = 'default', stream: str = 'default', cb=print
cb(msg)
async def off(self):
await self.js.unsubscribe()
_f('warn', f'unsubscribed from {self.frequency}')
_f('warn', f'unsubscribed from {self.stream}')
await self.nc.drain()
_f('warn', f'disconnected from {self.server}')
1 change: 0 additions & 1 deletion magnet/ron/__init__.py

This file was deleted.

91 changes: 0 additions & 91 deletions magnet/ron/tune.py

This file was deleted.

0 comments on commit ae7b45e

Please sign in to comment.