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

Return None result if no wordnumbers found, print error. #6

Merged
merged 1 commit into from
May 17, 2017

Conversation

bpben
Copy link
Contributor

@bpben bpben commented Jul 13, 2016

Hi there,
I ran into an issue with the new fix to the IndexError problem. I had w2n incorporated into a function of mine and counted on an IndexError to move on to the next part. With the printed error, I was getting that error message returned as part of the function's result. I tried making a quick fix of that, having it print the error instead and return a None result.

Is that helpful? I'm a bit of a git newbie, so let me know if I'm contributing incorrectly here. Thanks for a useful library!

@akshaynagpal
Copy link
Owner

Hi @bpben . I am glad you found my library useful. And yes, you are contributing at the correct place. Forking, editing and merging is the correct way to contribute. Regarding the pull request, I am a bit busy right now (working on a new open source project), but I will definitely see your suggested modification and will decide whether this is needed for a wider use case or not. If it is, it will be included in the next release. Keep contributing!
Cheers!

@akshaynagpal
Copy link
Owner

@bpben Added None result and printing of error. Thanks a lot!

@akshaynagpal akshaynagpal merged commit 9d1962f into akshaynagpal:master May 17, 2017
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