mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-29 19:08:12 +00:00
trezor.config: fix for stmhal
This commit is contained in:
parent
b8968e7387
commit
58612f14d2
@ -1,6 +1,7 @@
|
|||||||
import sys
|
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')
|
_config = Config('/sd/trezor.config')
|
||||||
else:
|
else:
|
||||||
from TrezorConfig import Config
|
from TrezorConfig import Config
|
||||||
|
Loading…
Reference in New Issue
Block a user