Skip to content

Commit d8984dd

Browse files
committed
Code formatting
1 parent fcf3852 commit d8984dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

django_celery_beat/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,8 +392,8 @@ def from_schedule(cls, schedule):
392392

393393
def due_start_time(self, start_time):
394394
start, ends_in, now = self.schedule.remaining_delta(start_time)
395-
if str(start.tzinfo) == str(
396-
now.tzinfo) and now.utcoffset() != start.utcoffset():
395+
if (str(start.tzinfo) == str(now.tzinfo) and
396+
now.utcoffset() != start.utcoffset()):
397397
start = start.replace(tzinfo=now.tzinfo)
398398
return start + ends_in
399399

0 commit comments

Comments
 (0)