Proxy question will be shown only during the first start

This commit is contained in:
Manuel Cortez 2019-01-20 03:08:02 -06:00
parent 5c75b2cb38
commit 401a1480d6

View File

@ -38,8 +38,8 @@ def setup():
proxy_option = commonMessages.proxy_question() proxy_option = commonMessages.proxy_question()
if proxy_option == widgetUtils.YES: if proxy_option == widgetUtils.YES:
config.app["app-settings"]["use_proxy"] = True config.app["app-settings"]["use_proxy"] = True
config.app["app-settings"]["first_start"] = False config.app["app-settings"]["first_start"] = False
config.app.write() config.app.write()
if config.app["app-settings"]["use_proxy"]: if config.app["app-settings"]["use_proxy"]:
log.debug("Enabling proxy support... ") log.debug("Enabling proxy support... ")
import requests import requests