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

Crashes if config contains a blank line #80

Open
jyn514 opened this issue Jul 21, 2017 · 0 comments
Open

Crashes if config contains a blank line #80

jyn514 opened this issue Jul 21, 2017 · 0 comments

Comments

@jyn514
Copy link

jyn514 commented Jul 21, 2017

Traceback (most recent call last): File "/usr/local/bin/classifier", line 289, in <module> Classifier() File "/usr/local/bin/classifier", line 115, in __init__ self.checkconfig() File "/usr/local/bin/classifier", line 133, in checkconfig val = spl[1].replace(" ","") IndexError: list index out of range
I suggest changing the flow control, maybe wrapping it in a try catch block. This traceback isn't very informative.

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

1 participant