jbaiter / chdkptp.py

Python bindings for chdkptp
GNU General Public License v3.0
13 stars 14 forks source link

Fix _parse_rval to handle calls from lua_execute properly. #3

Closed duerig closed 9 years ago

duerig commented 9 years ago

This fixes the tuple/rval typo in jbaiter's latest fix and the logic bug it introduced for normal/successful calls which only have two items in the tuple.

duerig commented 9 years ago

Also, note that this should supersede adongy's PR. The other PR fixes one of the issues (use of tuple rather than rval in the len expression), but there is another issue that remains after applying that PR.

jbaiter commented 9 years ago

Thank you! Sorry this took so long :-(