social media crossposting tool. 3rd time's the charm
mastodon misskey crossposting bluesky

catch KeyboardInterrupt

zenfyr.dev 32b11a14 afce401d

verified
Changed files
+4 -1
+4 -1
main.py
···
thread.start()
LOGGER.info('Connecting to %s...', input.service)
-
asyncio.run(input.listen(outputs, lambda x: task_queue.put(x)))
+
try:
+
asyncio.run(input.listen(outputs, lambda x: task_queue.put(x)))
+
except KeyboardInterrupt:
+
LOGGER.info("Stopping...")
task_queue.join()
task_queue.put(None)