fixing copy paste typo
Merge pull request #15 from limnick/master

fix misnamed variable causing valueerror