Skip to content

Conversation

@Michael-E-Rose
Copy link

On pages without coordinates, such as person pages, trying to get the coordinates would result KeyError: 'coordinates'.

I fixed this by changing the if clause into a try-except clause. That's more pythonic anyways.

@Michael-E-Rose
Copy link
Author

@goldsmith any thoughts on this?

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