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

Unwanted comma typo results in code being tuple not str #224

Open
code-review-doctor opened this issue Jan 4, 2022 · 1 comment
Open

Comments

@code-review-doctor
Copy link

Unwanted comma on line 609 results in code being set to a tuple rather than a string.

if hasattr(District, 'code'):
defaults['code'] = item['admin3Code'],

A comma makes it a tuple (no need for parent, all it takes is one comma).

Solution is to remove the comma from the end of the line. I can do that for you if you want?

@boldrack
Copy link

boldrack commented Mar 4, 2022

You should open a pull request since you know how to fix the issue.

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

No branches or pull requests

2 participants