mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Linux binary installer: Fix an error when using proxies and python 3
Fixes #1286274 [Binary linux installer fails because of bug in proxy debugging output](https://bugs.launchpad.net/calibre/+bug/1286274)
This commit is contained in:
parent
15962b8897
commit
ffc4cadf39
@ -349,7 +349,7 @@ def get_proxies(debug=True):
|
|||||||
del proxies[key]
|
del proxies[key]
|
||||||
|
|
||||||
if proxies and debug:
|
if proxies and debug:
|
||||||
prints('Using proxies:', proxies)
|
prints('Using proxies:', repr(proxies))
|
||||||
return proxies
|
return proxies
|
||||||
|
|
||||||
class HTTPError(ValueError):
|
class HTTPError(ValueError):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user