Skip to content

Crashes if config contains a blank line #80

@jyn514

Description

@jyn514

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions