bbrf-client
bbrf-client copied to clipboard
'NoneType' object has no attribute 'lower' when there is unexpected input on stdin
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