From: Harmon Date: Wed, 22 Dec 2021 21:35:58 +0000 (-0600) Subject: Improve formatting in Client._make_request X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1a08c68c79a05fea154162a2ac516a91288a4721;p=tweepy.git Improve formatting in Client._make_request --- diff --git a/tweepy/client.py b/tweepy/client.py index 9f7ee60..10acdc5 100644 --- a/tweepy/client.py +++ b/tweepy/client.py @@ -156,7 +156,8 @@ class Client: if param_value.tzinfo is not None: param_value = param_value.astimezone(datetime.timezone.utc) request_params[param_name] = param_value.strftime( - "%Y-%m-%dT%H:%M:%S.%fZ") + "%Y-%m-%dT%H:%M:%S.%fZ" + ) # TODO: Constant datetime format string? else: request_params[param_name] = param_value