diff options
Diffstat (limited to 'wasp/boards/p8/watch.py.in')
| -rw-r--r-- | wasp/boards/p8/watch.py.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wasp/boards/p8/watch.py.in b/wasp/boards/p8/watch.py.in index e133fee..1993a58 100644 --- a/wasp/boards/p8/watch.py.in +++ b/wasp/boards/p8/watch.py.in @@ -101,7 +101,7 @@ try: try: boot_msg("Mount FS") os.mount(flash, '/flash') - except AttributeError: + except (AttributeError, OSError) as e: # Format the filesystem (and provide a default version of main.py) boot_msg("Format FS") os.VfsLfs2.mkfs(flash) |
