From 4eb3d5e262cb58b42b7f5362be31ef6d5dc1acd4 Mon Sep 17 00:00:00 2001 From: Harmon Date: Mon, 4 Jan 2021 04:07:55 -0600 Subject: [PATCH] Improve formatting in AsyncStream --- tweepy/asynchronous/streaming.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tweepy/asynchronous/streaming.py b/tweepy/asynchronous/streaming.py index 3376aef..225b8f6 100644 --- a/tweepy/asynchronous/streaming.py +++ b/tweepy/asynchronous/streaming.py @@ -340,18 +340,14 @@ class AsyncStream: This is called when a status withheld content notice is received. """ - log.debug( - f"Received status withheld content notice: {notice}" - ) + log.debug(f"Received status withheld content notice: {notice}") async def on_user_withheld(self, notice): """This method is a coroutine. This is called when a user withheld content notice is received. """ - log.debug( - f"Received user withheld content notice: {notice}" - ) + log.debug(f"Received user withheld content notice: {notice}") async def on_warning(self, notice): """This method is a coroutine. -- 2.25.1