# Add proxy stuff
# Display workaround for single proxy in libtorrent >v0.16
try:
lt_single_proxy = True
lt_single_proxy = component.get("PreferencesManager").LT_SINGLE_PROXY
except AttributeError:
lt_single_proxy = False
for t in ("peer", "web_seed", "tracker", "dht"):
if lt_single_proxy and not t == "peer":