Fix use_passphrase setting in storage.py.

pull/25/head
andrew 6 years ago committed by Pavol Rusnak
parent 4246d7f6cd
commit a19446fabd
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -168,7 +168,8 @@ def load_settings(
) -> None:
if label is not None:
config.set(_APP, _LABEL, label.encode(), True) # public
_set_bool(_APP, _USE_PASSPHRASE, use_passphrase)
if use_passphrase is not None:
_set_bool(_APP, _USE_PASSPHRASE, use_passphrase)
if homescreen is not None:
if homescreen[:8] == b"TOIf\x90\x00\x90\x00":
if len(homescreen) <= HOMESCREEN_MAXSIZE:

Loading…
Cancel
Save