Closed toliwaga closed 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
return (keymap,entries)
return entries
variable keymap is not defined, so code throws misleading exception of type LookupError
Ah I'll take a look at this right away.
@toliwaga fixed. Building new package for PyPi now. Thanks for the bug report!
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