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

Type error for qless-core default config values #31

Merged
merged 2 commits into from
Aug 25, 2016
Merged

Conversation

neilmb
Copy link
Contributor

@neilmb neilmb commented Feb 4, 2016

Querying a config value that has not been set from within the Python bindings produces a return value that is an integer, not a string value that can be passed to json.loads. This change fixes issue #30 by checking for TypeError and returning the config value directly when that happens.

@dlecocq
Copy link
Contributor

dlecocq commented Feb 5, 2016

LGTM

@neilmb
Copy link
Contributor Author

neilmb commented Aug 25, 2016

Oops, forgot about this one. Rebased and merging when tests pass.

@neilmb neilmb merged commit 966ed80 into master Aug 25, 2016
@neilmb neilmb deleted the type-error branch August 25, 2016 18:26
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.

2 participants