Skip to content

Commit 95a6815

Browse files
committed
fix: fmt
1 parent 4d7e8e0 commit 95a6815

2 files changed

Lines changed: 3 additions & 9 deletions

File tree

graphinator/graphinator.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -436,9 +436,7 @@ async def _recover_consumers() -> None:
436436
)
437437
# Don't close temp_connection since we're using it as active_connection
438438
else:
439-
logger.info(
440-
"📭 No messages in any queue, connection remains closed"
441-
)
439+
logger.info("📭 No messages in any queue, connection remains closed")
442440
# Close the temporary connection
443441
await temp_channel.close()
444442
await temp_connection.close()

tableinator/tableinator.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -403,9 +403,7 @@ async def _recover_consumers() -> None:
403403
# Start consumers for queues with messages
404404
for data_type, msg_count in queues_with_messages:
405405
if data_type in queues and data_type not in consumer_tags:
406-
consumer_tag = await queues[data_type].consume(
407-
on_data_message
408-
)
406+
consumer_tag = await queues[data_type].consume(on_data_message)
409407
consumer_tags[data_type] = consumer_tag
410408
# Remove from completed files so it will be processed
411409
completed_files.discard(data_type)
@@ -422,9 +420,7 @@ async def _recover_consumers() -> None:
422420
)
423421
# Don't close temp_connection since we're using it as active_connection
424422
else:
425-
logger.info(
426-
"📭 No messages in any queue, connection remains closed"
427-
)
423+
logger.info("📭 No messages in any queue, connection remains closed")
428424
# Close the temporary connection
429425
await temp_channel.close()
430426
await temp_connection.close()

0 commit comments

Comments
 (0)