Skip to content

Commit 823363b

Browse files
author
Jonathan Warren
committed
Merge pull request #304 from Atheros1/master
[Minor] Move one line of code so that correct program activity is logged
2 parents 5ca0eac + 52caec5 commit 823363b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/bitmessagemain.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,6 @@ def run(self):
720720

721721
helper_bootstrap.knownNodes()
722722
helper_bootstrap.dns()
723-
724723
# Start the address generation thread
725724
addressGeneratorThread = addressGenerator()
726725
addressGeneratorThread.daemon = True # close the main program even if there are threads left

src/shared.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,12 @@ def lookupAppdataFolder():
136136

137137
# Migrate existing data to the proper location if this is an existing install
138138
try:
139+
move(path.join(environ["HOME"], ".%s" % APPNAME), dataFolder)
139140
stringToLog = "Moving data folder to %s" % (dataFolder)
140141
if 'logger' in globals():
141142
logger.info(stringToLog)
142143
else:
143144
print stringToLog
144-
move(path.join(environ["HOME"], ".%s" % APPNAME), dataFolder)
145145
except IOError:
146146
pass
147147
dataFolder = dataFolder + '/'

0 commit comments

Comments
 (0)