Skip to content

Commit

Permalink
style(pre-commit): auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Aug 15, 2023
1 parent 5d0a048 commit 116217c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion discord/ext/tasks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,9 @@ def _get_next_sleep_time(self) -> datetime.datetime:
self._time_index += 1
if (
next_time
> datetime.datetime.now(next_time.tzinfo or datetime.timezone.utc).timetz()
> datetime.datetime.now(
next_time.tzinfo or datetime.timezone.utc
).timetz()
):
return datetime.datetime.combine(
datetime.datetime.now(next_time.tzinfo or datetime.timezone.utc),
Expand Down

0 comments on commit 116217c

Please sign in to comment.