Make int(b'123') work properly.
diff --git a/py/objint.c b/py/objint.c
index d088ae1..a771383 100644
--- a/py/objint.c
+++ b/py/objint.c
@@ -57,7 +57,7 @@
             if (MP_OBJ_IS_INT(args[0])) {
                 // already an int (small or long), just return it
                 return args[0];
-            } else if (MP_OBJ_IS_STR(args[0])) {
+            } else if (MP_OBJ_IS_STR_OR_BYTES(args[0])) {
                 // a string, parse it
                 uint l;
                 const char *s = mp_obj_str_get_data(args[0], &l);