From 2e0bf58a3f583baf93d69254178ee3b1998a2ed1 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Sun, 20 May 2018 19:05:35 +0200 Subject: [PATCH] parser: this can be on one line --- lib/svtplay_dl/utils/parser.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/svtplay_dl/utils/parser.py b/lib/svtplay_dl/utils/parser.py index 3e2c878..fbffd36 100644 --- a/lib/svtplay_dl/utils/parser.py +++ b/lib/svtplay_dl/utils/parser.py @@ -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