Skip to content

Commit fa53eb3

Browse files
committed
Clarify IOError handling with comment.
1 parent e8fa5aa commit fa53eb3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/shared.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ def lookupAppdataFolder():
142142
logger.info("Moving data folder to %s" % (dataFolder))
143143
move(path.join(environ["HOME"], ".%s" % APPNAME), dataFolder)
144144
except IOError:
145+
# Old directory may not exist.
145146
pass
146147
dataFolder = dataFolder + '/'
147148
return dataFolder

0 commit comments

Comments
 (0)