Open frikky opened 7 years ago
Added TypeError to trycatch
Exception in thread Thread-2: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.target(*self.args, **self.__kwargs) File "server.py", line 194, in handle_request if ret["rule_counter"] > 0: KeyError: 'rule_counter'
Another /o\
Exception in thread Thread-2: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.target(*self.args, **self.kwargs) File "server.py", line 187, in handle_request vt_positive = vt["positives"] TypeError: 'bool' object has no attribute 'getitem__'