alexrj/blender-gcode-reader — pull request #1 by ceterumnet (2012-05-04 18:58:05+00:00)
Title: Fixes issue with plugin on gcode generated with newer versions of Slic3r

I think you were not accounting for empty lines in the gcode - I added an extra if statement to make sure the tmp list is not empty.