GraylinKim/sc2reader — Issue #34: IndexError: list index out of range
Author: srounet
Created: 2011-10-09 20:10:59+00:00
State: open

replay file: http://drop.sc/41598/d

```sh
sc2printer test_replays/41598.SC2Replay
--------------------------------------
test_replays/41598.SC2Replay

Traceback (most recent call last):
File "/home/xxx/.virtualenvs/py27/bin/sc2printer", line 8, in
load_entry_point('sc2reader==0.2.0', 'console_scripts', 'sc2printer')()
File "/home/xxx/projects/sc2reader/sc2reader/scripts/sc2printer.py", line 90, in main
doFile(file, arguments)
File "/home/xxx/projects/sc2reader/sc2reader/scripts/sc2printer.py", line 17, in doFile
prev = e.game_events[-1]
IndexError: list index out of range