Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit194e1b7

Browse files
Only push binary data to aiopika (Fixes#1513) (#1514)
1 parentf8a1d43 commit194e1b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/socketio/async_aiopika_manager.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ async def _publish(self, data):
8282
try:
8383
awaitself.publisher_exchange.publish(
8484
aio_pika.Message(
85-
body=json.dumps(data),
85+
body=json.dumps(data).encode(),
8686
delivery_mode=aio_pika.DeliveryMode.PERSISTENT
8787
),routing_key='*',
8888
)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp