use websocket transport for recent watcher

dev
Thomas Lynch 2 years ago
parent ba992f1597
commit 09cacf1783
  1. 2
      components/watchers.py

@ -52,7 +52,7 @@ class RecentWatcher(Watcher):
self.start()
def run(self):
self.client.connect(f'wss://{self.session.imageboard}/')
self.client.connect(f'wss://{self.session.imageboard}/', transports=['websocket'])
self.client.wait() # blocks the thread until something happens
if self._stp.wait():

Loading…
Cancel
Save