legion0/kjlib-python

log_level_choices is missing definition in main kj_log_reader

Opened this issue · 0 comments

Well, the title says it all.

When trying to run the kj_log_reader, the following exception is raised:
File "/usr/local/lib/python2.7/dist-packages/kjlib-3.0.0-py2.7.egg/kjlib/log_reader.py", line 23, in main
max_log_level_width = max([len(x) for x in log_level_choices])
NameError: global name 'log_level_choices' is not defined