bbrf-client icon indicating copy to clipboard operation
bbrf-client copied to clipboard

'NoneType' object has no attribute 'lower' when there is unexpected input on stdin

Open honoki opened this issue 2 years ago • 0 comments

To reproduce

#~ cat scope.txt
a.com
b.com
c.com/
#~ cat scope.txt | bbrf outscope add -
[ERROR] 'NoneType' object has no attribute 'lower'

Solution: make error message more descriptive, maybe ignore unexpected characters

honoki avatar Dec 13 '23 13:12 honoki