Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 18, 2024
1 parent ea0f4a0 commit 99379aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pvliveconsumer/nightime.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def make_night_time_zeros(

# round start up to the nearest half hour
start = start.replace(microsecond=0)
if (start.minute == 0 and start.second == 0):
if start.minute == 0 and start.second == 0:
pass
elif start.minute < 30 or (start.minute == 30 and start.second == 0):
start = start.replace(minute=30, second=0, microsecond=0)
Expand Down

0 comments on commit 99379aa

Please sign in to comment.