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:
parent
e97b104573
commit
2e0bf58a3f
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user