File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -314,8 +314,7 @@ def accept(self):
314
314
self .comboBoxProxyType .currentText ()[0 :5 ] != 'SOCKS'
315
315
):
316
316
self .parent .statusbar .clearMessage ()
317
- # just in case we changed something in the network connectivity
318
- state .resetNetworkProtocolAvailability ()
317
+
319
318
self .config .set (
320
319
'bitmessagesettings' , 'socksproxytype' ,
321
320
str (self .comboBoxProxyType .currentText ())
Original file line number Diff line number Diff line change 9
9
# for Tor hidden service
10
10
socksIP = None
11
11
12
- # Network protocols availability, initialised below
13
- networkProtocolAvailability = None
14
-
15
12
appdata = '' # holds the location of the application data storage directory
16
13
17
14
# Set to 1 by the doCleanShutdown function.
54
51
55
52
Peer = collections .namedtuple ('Peer' , ['host' , 'port' ])
56
53
57
-
58
- def resetNetworkProtocolAvailability ():
59
- global networkProtocolAvailability
60
- networkProtocolAvailability = {'IPv4' : None , 'IPv6' : None , 'onion' : None }
61
-
62
-
63
- resetNetworkProtocolAvailability ()
64
-
65
54
dandelion = 0
66
55
67
56
testmode = False
You can’t perform that action at this time.
0 commit comments