Move one line of code so that correct program activity is logged
This commit is contained in:
parent
5ca0eac7a9
commit
52caec5e2b
|
@ -720,7 +720,6 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
helper_bootstrap.knownNodes()
|
helper_bootstrap.knownNodes()
|
||||||
helper_bootstrap.dns()
|
helper_bootstrap.dns()
|
||||||
|
|
||||||
# Start the address generation thread
|
# Start the address generation thread
|
||||||
addressGeneratorThread = addressGenerator()
|
addressGeneratorThread = addressGenerator()
|
||||||
addressGeneratorThread.daemon = True # close the main program even if there are threads left
|
addressGeneratorThread.daemon = True # close the main program even if there are threads left
|
||||||
|
|
|
@ -136,12 +136,12 @@ def lookupAppdataFolder():
|
||||||
|
|
||||||
# Migrate existing data to the proper location if this is an existing install
|
# Migrate existing data to the proper location if this is an existing install
|
||||||
try:
|
try:
|
||||||
|
move(path.join(environ["HOME"], ".%s" % APPNAME), dataFolder)
|
||||||
stringToLog = "Moving data folder to %s" % (dataFolder)
|
stringToLog = "Moving data folder to %s" % (dataFolder)
|
||||||
if 'logger' in globals():
|
if 'logger' in globals():
|
||||||
logger.info(stringToLog)
|
logger.info(stringToLog)
|
||||||
else:
|
else:
|
||||||
print stringToLog
|
print stringToLog
|
||||||
move(path.join(environ["HOME"], ".%s" % APPNAME), dataFolder)
|
|
||||||
except IOError:
|
except IOError:
|
||||||
pass
|
pass
|
||||||
dataFolder = dataFolder + '/'
|
dataFolder = dataFolder + '/'
|
||||||
|
|
Reference in New Issue
Block a user