From eb08c83ae29b08c86abb0f97a898b8a5c5247f66 Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Thu, 20 Jan 2022 18:17:38 -0500 Subject: [PATCH] fix typo --- extmod/vfs_fat_file.c | 1 - 1 file changed, 1 deletion(-) diff --git a/extmod/vfs_fat_file.c b/extmod/vfs_fat_file.c index 4da497f5b8..65ee5f9024 100644 --- a/extmod/vfs_fat_file.c +++ b/extmod/vfs_fat_file.c @@ -177,7 +177,6 @@ STATIC mp_obj_t file_open(fs_user_mount_t *vfs, const mp_obj_type_t *type, mp_ar break; default: bad_mode = true; - mp_raise_ValueError(translate("Invalid mode")); break; } }