1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 21:48:13 +00:00

fix: make sure storage.cache import is correctly retained

[no changelog]
This commit is contained in:
Ioan Bizău 2024-07-18 13:00:00 +02:00 committed by Ioan Bizău
parent c7ec093863
commit 1ef88117fe

View File

@ -1,8 +1,8 @@
from storage import common, device
# make sure to import cache unconditionally at top level so that it is imported (and retained) together with the storage module
from storage import cache, common, device
def wipe() -> None:
from storage import cache
from trezor import config
config.wipe()