summaryrefslogtreecommitdiff
path: root/py/qstr.c
diff options
context:
space:
mode:
authorJensDiemer <git@jensdiemer.de>2020-01-09 16:33:31 +0100
committerDamien George <damien.p.george@gmail.com>2020-01-14 23:53:49 +1100
commitc14ff6194c224190c7e6787a2bffbdbb495be4b4 (patch)
tree96f667424c534795a21acd879e90904b3c77de1c /py/qstr.c
parent4ab4bf3ec6e891a49a827b659d5d4764a40ee404 (diff)
esp8266/modules: Fix AttributeError in _boot.py if flash not formatted.
Prior to this commit, if the flash filesystem was not formatted then it would error: "AttributeError: 'FlashBdev' object has no attribute 'mount'". That is due to it not being able to detect the filesystem on the block device and just trying to mount the block device directly. This commit fixes the issue by just catching all exceptions. Also it's not needed to try the mount if `flashbdev.bdev` is None.
Diffstat (limited to 'py/qstr.c')
0 files changed, 0 insertions, 0 deletions