1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00

core/sd_salt: remove forgotten fs.mount

This commit is contained in:
matejcik 2019-11-08 14:23:58 +01:00
parent 18ab677124
commit 8225e5d8b2

View File

@ -137,7 +137,6 @@ def load_sd_salt() -> Optional[bytearray]:
def set_sd_salt(salt: bytes, salt_tag: bytes, stage: bool = False) -> None:
salt_path = _get_salt_path(stage)
fs = io.FatFS()
fs.mount()
fs.mkdir("/trezor", True)
fs.mkdir(_get_device_dir(), True)
with fs.open(salt_path, "w") as f: