1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 04:05:39 +01:00

parser: this can be on one line

This commit is contained in:
Johan Andersson 2018-05-20 19:05:35 +02:00
parent e97b104573
commit 2e0bf58a3f

View File

@ -236,8 +236,7 @@ def _special_settings(config):
if config.get("proxy"):
config.set("proxy", config.get("proxy").replace("socks5", "socks5h", 1))
config.set("proxy", dict(http=config.get("proxy"),
https=config.get("proxy")))
config.set("proxy", dict(http=config.get("proxy"), https=config.get("proxy")))
return config