Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in interval handling #3

Closed
DirkReiners opened this issue Jan 19, 2020 · 1 comment · Fixed by #12
Closed

Typo in interval handling #3

DirkReiners opened this issue Jan 19, 2020 · 1 comment · Fixed by #12
Assignees

Comments

@DirkReiners
Copy link

I'm getting exception when trying to set an interval in the Recurrence. I think the problem is line 447 in recurrence.py should be

if interval and (not isinstance(interval, int) or interval < 1):

instead of

if interval and (isinstance(interval, int) or interval < 1):

That seems to fix it for me, at least. ;)

@kuzmoyev
Copy link
Owner

@DirkReiners Thank you for the issue submission. It is a typo. Fixed in dev.

@kuzmoyev kuzmoyev self-assigned this Feb 3, 2020
@kuzmoyev kuzmoyev linked a pull request Jun 14, 2020 that will close this issue
Merged
kuzmoyev added a commit that referenced this issue May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants