Update isis.py

Fixed a bug in shell