Proxy question will be shown only during the first start
This commit is contained in:
parent
5c75b2cb38
commit
401a1480d6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user