Clarify IOError handling with comment.
This commit is contained in:
parent
e8fa5aaefe
commit
fa53eb370c
|
@ -142,6 +142,7 @@ def lookupAppdataFolder():
|
||||||
logger.info("Moving data folder to %s" % (dataFolder))
|
logger.info("Moving data folder to %s" % (dataFolder))
|
||||||
move(path.join(environ["HOME"], ".%s" % APPNAME), dataFolder)
|
move(path.join(environ["HOME"], ".%s" % APPNAME), dataFolder)
|
||||||
except IOError:
|
except IOError:
|
||||||
|
# Old directory may not exist.
|
||||||
pass
|
pass
|
||||||
dataFolder = dataFolder + '/'
|
dataFolder = dataFolder + '/'
|
||||||
return dataFolder
|
return dataFolder
|
||||||
|
|
Reference in New Issue
Block a user