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

this fixes the keyerror problem #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

this fixes the keyerror problem #3

wants to merge 1 commit into from

Conversation

codyc4321
Copy link

...of not being able to find the 'rsvp_limit' key for events that haven't been rsvp'ed for.

I tried to run the script after setup and it broke and did not run:

[cchilders:~/projects/meetup-rsvper [master]$ ./meetup-rsvper.py Traceback (most recent call last): File "./meetup-rsvper.py", line 290, in <module> main() File "./meetup-rsvper.py", line 286, in main rsvp_for_groups() File "./meetup-rsvper.py", line 233, in rsvp_for_groups rsvp_for_group_events(group_id) File "./meetup-rsvper.py", line 197, in rsvp_for_group_events if event['yes_rsvp_count'] >= event['rsvp_limit']: KeyError: 'rsvp_limit'](url)

it is now fixed

…imit' key for events that haven't been rsvp'ed for
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 this pull request may close these issues.

1 participant