1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 03:30:02 +00:00

core/webauthn: Specify the exception raised by res.load().

This commit is contained in:
Andrew Kozlik 2019-11-26 15:44:05 +01:00
parent 790178a442
commit 7c39e2f142

View File

@ -31,7 +31,7 @@ class ConfirmInfo:
)
try:
self.app_icon = res.load(resource)
except Exception:
except KeyError:
pass
else:
return