Skip to content

Commit

Permalink
Merge pull request #192 from cjtitus/fix_qt_dispatcher
Browse files Browse the repository at this point in the history
Fixed bug in QtRemoteDispatcher
  • Loading branch information
mrakitin authored Feb 2, 2024
2 parents c409368 + e864534 commit 362778f
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 362778f

Please sign in to comment.