@@ -410,8 +410,7 @@ def _get_next(
410
410
dom_dow_exception_processed = True
411
411
412
412
if not dom_dow_exception_processed :
413
- result = self ._calc (self .cur , expanded ,
414
- nth_weekday_of_month , is_prev )
413
+ result = self ._calc (self .cur , expanded , nth_weekday_of_month , is_prev )
415
414
416
415
# DST Handling for cron job spanning across days
417
416
dtstarttime = self ._timestamp_to_datetime (self .dst_start_time )
@@ -1289,10 +1288,15 @@ def croniter_range(
1289
1288
start += ms1
1290
1289
stop -= ms1
1291
1290
year_span = math .floor (abs (stop .year - start .year )) + 1
1292
- ic = _croniter (expr_format , start , ret_type = datetime .datetime , day_or = day_or ,
1293
- max_years_between_matches = year_span ,
1294
- second_at_beginning = second_at_beginning ,
1295
- expand_from_start_time = expand_from_start_time )
1291
+ ic = _croniter (
1292
+ expr_format ,
1293
+ start ,
1294
+ ret_type = datetime .datetime ,
1295
+ day_or = day_or ,
1296
+ max_years_between_matches = year_span ,
1297
+ second_at_beginning = second_at_beginning ,
1298
+ expand_from_start_time = expand_from_start_time ,
1299
+ )
1296
1300
# define a continue (cont) condition function and step function for the main while loop
1297
1301
if start < stop : # Forward
1298
1302
0 commit comments