mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-26 01:18:28 +00:00
trezor.config: fix for stmhal
This commit is contained in:
parent
b8968e7387
commit
58612f14d2
@ -1,6 +1,7 @@
|
||||
import sys
|
||||
if sys.platform in ['trezor', 'pyboard']: # stmhal
|
||||
from config_mock import Config
|
||||
|
||||
if sys.platform in ('trezor', 'pyboard'): # stmhal
|
||||
from .config_mock import Config
|
||||
_config = Config('/sd/trezor.config')
|
||||
else:
|
||||
from TrezorConfig import Config
|
||||
|
Loading…
Reference in New Issue
Block a user