Update ecosmodule.c

Fixed Python module - changes in the exitcodes haven't been carried over to the python interface yet, causing a build error.