minor fix for empty list in get_lines
Merge pull request #50 from s-trooper/master

minor fix for empty list in get_lines