Skip to content

Commit

Permalink
updated name of _dispatcher._bluesky_consumer._consumer, which was ou…
Browse files Browse the repository at this point in the history
…tdated and causing QtRemoteDispatcher to crash
  • Loading branch information
cjtitus committed Jan 30, 2024
1 parent c409368 commit e864534
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bluesky_widgets/qt/kafka_dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def continue_polling_forever():
while continue_polling():
try:
# there should maybe be a poll method on the dispatcher
msg = self._dispatcher._bluesky_consumer.consumer.poll(
msg = self._dispatcher._bluesky_consumer._consumer.poll(
self._dispatcher._bluesky_consumer.polling_duration
)
if msg is None:
Expand All @@ -116,7 +116,7 @@ def continue_polling_forever():
# doc.
logger.debug("keep waiting for a start document")
return
yield self._dispatcher._bluesky_consumer.consumer, msg.topic(), name, document
yield self._dispatcher._bluesky_consumer._consumer, msg.topic(), name, document
except Exception as exc:
logger.exception(exc)
except Exception as exc:
Expand Down

0 comments on commit e864534

Please sign in to comment.