View | Details | Raw Unified | Return to bug 226443
Collapse All | Expand All

(-)deluge/ui/gtkui/preferences.py (-4 / +1 lines)
Lines 319-328 class Preferences(component.Component): Link Here
319
            # Add proxy stuff
319
            # Add proxy stuff
320
320
321
            # Display workaround for single proxy in libtorrent >v0.16
321
            # Display workaround for single proxy in libtorrent >v0.16
322
            try:
322
            lt_single_proxy = True
323
                lt_single_proxy = component.get("PreferencesManager").LT_SINGLE_PROXY
324
            except AttributeError:
325
                lt_single_proxy = False
326
323
327
            for t in ("peer", "web_seed", "tracker", "dht"):
324
            for t in ("peer", "web_seed", "tracker", "dht"):
328
                if lt_single_proxy and not t == "peer":
325
                if lt_single_proxy and not t == "peer":

Return to bug 226443