Clarify IOError handling with comment.

This commit is contained in:
Gregor Robinson 2013-07-11 23:58:10 +01:00
parent e8fa5aaefe
commit fa53eb370c
1 changed files with 1 additions and 0 deletions

View File

@ -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