Skip to content

Commit

Permalink
rule parameters weren't being passed, so stops function wasn't workin…
Browse files Browse the repository at this point in the history
…g properly.
  • Loading branch information
xgilest committed Nov 16, 2014
1 parent a987a47 commit 2a2fe0f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions delorean/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ def stops(freq, interval=1, count=None, wkst=None, bysetpos=None,
if start is None:
start = datetime_timezone(timezone)

for dt in rrule(freq, interval=interval, count=count, wkst=None, bysetpos=None,
bymonth=None, bymonthday=None, byyearday=None, byeaster=None,
byweekno=None, byweekday=None, byhour=None, byminute=None,
bysecond=None, until=stop, dtstart=start):
for dt in rrule(freq, interval=interval, count=count, wkst=wkst, bysetpos=bysetpos,
bymonth=bymonth, bymonthday=bymonthday, byyearday=byyearday, byeaster=byeaster,
byweekno=byweekno, byweekday=byweekday, byhour=byhour, byminute=byminute,
bysecond=bysecond, until=stop, dtstart=start):
# make the delorean object
# yield it.
# doing this to make sure delorean receives a naive datetime.
Expand Down

0 comments on commit 2a2fe0f

Please sign in to comment.