1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-13 17:00:59 +00:00
trezor-firmware/src/apps/management/apply_flags.py
2018-02-27 16:36:17 +01:00

8 lines
188 B
Python

from trezor.messages.Success import Success
from apps.common import storage
async def apply_flags(ctx, msg):
storage.set_flags(msg.flags)
return Success(message='Flags applied')