clean up onboarding handler
parent
583ce92065
commit
b86eb821ce
|
@ -1,5 +1,4 @@
|
|||
"""
|
||||
Onionr - Private P2P Communication
|
||||
"""Onionr - Private P2P Communication.
|
||||
|
||||
Setup config from onboarding choices
|
||||
"""
|
||||
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue