1
0
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:
Jan Pochyla 2016-12-13 16:03:00 +01:00
parent b8968e7387
commit 58612f14d2

View File

@ -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