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))
|
||||
move(path.join(environ["HOME"], ".%s" % APPNAME), dataFolder)
|
||||
except IOError:
|
||||
# Old directory may not exist.
|
||||
pass
|
||||
dataFolder = dataFolder + '/'
|
||||
return dataFolder
|
||||
|
|
Loading…
Reference in New Issue
Block a user