Skip to content

Commit

Permalink
Merge branch 'bluesky:master' into fix_black_lint_errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperrealist authored Feb 2, 2024
2 parents 2e8a827 + 362778f commit a7ca69c
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 a7ca69c

Please sign in to comment.