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

View File

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