I'm getting an error trying to use this:
Code:
clarson@foul mine home#mv!187caf1$ pi_format.py mine.conf
Traceback (most recent call last):
File "/home/clarson/Desktop/pi/pi/bin/pi_format.py", line 59, in <module>
test_all(sys.argv[1])
File "/home/clarson/Desktop/pi/pi/bin/pi_format.py", line 15, in test_all
doc = pi.Doc(conf)
File "/home/clarson/Desktop/pi/pi/bin/pi.py", line 1091, in __init__
self.get_avg_page_stat()
File "/home/clarson/Desktop/pi/pi/bin/pi.py", line 1144, in get_avg_page_stat
self.avg_lh = middle(avg_lhs)
File "/home/clarson/Desktop/pi/pi/bin/pi.py", line 58, in middle
return sl[(len(sl) + 1) / 2]
IndexError: list index out of range