Skip to content

this fixes the keyerror problem#3

Open
codyc4321 wants to merge 1 commit into
jbeluch:masterfrom
codyc4321:codyc4321/keyerror-fix
Open

this fixes the keyerror problem#3
codyc4321 wants to merge 1 commit into
jbeluch:masterfrom
codyc4321:codyc4321/keyerror-fix

Conversation

@codyc4321

Copy link
Copy Markdown

...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