1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-03 03:50:58 +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: try:
self.app_icon = res.load(resource) self.app_icon = res.load(resource)
except Exception: except KeyError:
pass pass
else: else:
return return