Skip to content

Commit

Permalink
Fix formatting, again
Browse files Browse the repository at this point in the history
  • Loading branch information
SijmenHuizenga committed Nov 12, 2023
1 parent 4e22589 commit b719314
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion schedule/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,9 @@ def _normalize_preserve_timestamp(
microsecond=input.microsecond,
)

def _to_at_timezone(self, input: Optional[datetime.datetime]) -> Optional[datetime.datetime]:
def _to_at_timezone(
self, input: Optional[datetime.datetime]
) -> Optional[datetime.datetime]:
if self.at_time_zone is None or input is None:
return input
return input.astimezone(self.at_time_zone)
Expand Down

0 comments on commit b719314

Please sign in to comment.