py-shell-complete fixed

complete if possible