osPlanning / omx

Open Matrix (OMX)
https://github.com/osPlanning/omx/wiki
Apache License 2.0
49 stars 18 forks source link

mapentries function always throws error #31

Closed toliwaga closed 7 years ago

toliwaga commented 7 years ago

Python api File.mapentries() always throws error because of undefined variable.

File.py line 144 is: return (keymap,entries) but should be: return entries

variable keymap is not defined, so code throws misleading exception of type LookupError

billyc commented 7 years ago

Ah I'll take a look at this right away.

billyc commented 7 years ago

@toliwaga fixed. Building new package for PyPi now. Thanks for the bug report!