From b86eb821cea1306d1ccb6f8d30d0e94310cd4acf Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Mon, 3 Feb 2020 21:49:21 -0600 Subject: [PATCH] clean up onboarding handler --- src/config/onboarding.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/config/onboarding.py b/src/config/onboarding.py index 6b7c6f9a..e439d09f 100644 --- a/src/config/onboarding.py +++ b/src/config/onboarding.py @@ -1,7 +1,6 @@ -""" - 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 config.reload()