'status' is not always returned. Put try..except around it.
Corrected inverse unicode_compat check