Missing change from last commit, print error #4695

This commit is contained in:
Nick Bolton 2015-05-25 16:23:21 +01:00
parent d278c2d8d4
commit b4b5ce6483
1 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,8 @@ class FtpUploader:
try:
ftp.mkd(dir)
except:
# sometimes nlst may returns nothing, so mkd fails with 'File exists'
print "Failed to create dir '%s'" % dir
print "Changing to dir '%s'" % dir
ftp.cwd(dir)