Typos
Still regarding portable mode path fixes
This commit is contained in:
parent
5a45d7dd8f
commit
8136b022bc
|
@ -35,7 +35,7 @@ def loadConfig():
|
|||
needToCreateKeysFile = True
|
||||
|
||||
else:
|
||||
shared.config.read(shared.lookupExeFolder() + 'keys.dat'))
|
||||
shared.config.read(shared.lookupExeFolder() + 'keys.dat')
|
||||
try:
|
||||
shared.config.get('bitmessagesettings', 'settingsversion')
|
||||
print 'Loading config files from same directory as program.'
|
||||
|
|
|
@ -200,9 +200,9 @@ def assembleErrorMessage(fatal=0, banTime=0, inventoryVector='', errorText=''):
|
|||
|
||||
def lookupExeFolder():
|
||||
if frozen:
|
||||
exeFolder = os.path.join(os.path.dirname(sys.executable), '/')
|
||||
exeFolder = path.dirname(sys.executable) + path.sep
|
||||
elif __file__:
|
||||
exeFolder = os.path.join(os.path.dirname(__file__), '/')
|
||||
exeFolder = path.dirname(__file__) + path.sep
|
||||
else:
|
||||
exeFolder = ''
|
||||
return exeFolder
|
||||
|
|
Loading…
Reference in New Issue
Block a user