Skip to content

Commit

Permalink
fixed miguelgrinberg#897: compatibility with aio-pika=7
Browse files Browse the repository at this point in the history
  • Loading branch information
dimastbk committed Mar 27, 2022
1 parent 4d5e36d commit 1d0b875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/socketio/asyncio_aiopika_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ async def _listen(self):

async with self.listener_queue.iterator() as queue_iter:
async for message in queue_iter:
with message.process():
async with message.process():
yield pickle.loads(message.body)
except Exception:
self._get_logger().error('Cannot receive from rabbitmq... '
Expand Down

0 comments on commit 1d0b875

Please sign in to comment.