File tree 2 files changed +4
-5
lines changed 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 23
23
from bitmessageui import Ui_MainWindow
24
24
from bmconfigparser import BMConfigParser
25
25
import defaults
26
- from namecoin import namecoinConnection
26
+ import namecoin
27
27
from messageview import MessageView
28
28
from migrationwizard import Ui_MigrationWizard
29
29
from foldertree import (
@@ -797,7 +797,8 @@ def __init__(self, parent=None):
797
797
798
798
self .initSettings ()
799
799
800
- self .namecoin = namecoinConnection ()
800
+ namecoin .ensureNamecoinOptions ()
801
+ self .namecoin = namecoin .namecoinConnection ()
801
802
802
803
# Check to see whether we can connect to namecoin.
803
804
# Hide the 'Fetch Namecoin ID' button if we can't.
Original file line number Diff line number Diff line change 8
8
import platform
9
9
from distutils .version import StrictVersion
10
10
11
- from namecoin import ensureNamecoinOptions
12
11
import paths
13
12
import state
14
13
import helper_random
@@ -129,8 +128,6 @@ def loadConfig():
129
128
# existing users. To do that, search the class_sqlThread.py file for the
130
129
# text: "right above this line!"
131
130
132
- ensureNamecoinOptions ()
133
-
134
131
if StoreConfigFilesInSameDirectoryAsProgramByDefault :
135
132
# Just use the same directory as the program and forget about
136
133
# the appdata folder
@@ -146,6 +143,7 @@ def loadConfig():
146
143
147
144
_loadTrustedPeer ()
148
145
146
+
149
147
def isOurOperatingSystemLimitedToHavingVeryFewHalfOpenConnections ():
150
148
try :
151
149
if sys .platform [0 :3 ] == "win" :
You can’t perform that action at this time.
0 commit comments