Commit b86eb821 authored by Kevin Froman's avatar Kevin Froman

clean up onboarding handler

parent 583ce920
Onionr - Private P2P Communication
"""Onionr - Private P2P Communication.
Setup config from onboarding choices
Setup config from onboarding choices
from pathlib import Path
from typing import Union
......@@ -10,7 +9,6 @@ from filepaths import onboarding_mark_file
from onionrtypes import JSONSerializable
from onionrtypes import OnboardingConfig
import config
from flask import g
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -35,7 +33,6 @@ def _get_val_or_none(json: dict, key: str) -> Union[None, JSONSerializable]:
def set_config_from_onboarding(config_settings: OnboardingConfig):
get = _get_val_or_none
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment