If you pipe invalid input to ninety_five_percent.py
before my changes:
ninety_five_percent.py", line 40, in run
data[t] = data.get(t, 0) + 1
UnboundLocalError: local variable 't' referenced before assignment
after:
.....
invalid line '13:39:42'
invalid line '13:39:42'
invalid line '13:39:42'
invalid line '13:39:42'
invalid line '13:39:42'
None
If you pipe invalid input to ninety_five_percent.py before my changes:
ninety_five_percent.py", line 40, in run data[t] = data.get(t, 0) + 1 UnboundLocalError: local variable 't' referenced before assignment after: ..... invalid line '13:39:42' invalid line '13:39:42' invalid line '13:39:42' invalid line '13:39:42' invalid line '13:39:42' None