daca2: catch EOFError exceptions

This commit is contained in:
Daniel Marjamäki 2013-10-13 13:10:25 +02:00
parent cb56db5f21
commit a305698442
1 changed files with 5 additions and 0 deletions

View File

@ -145,3 +145,8 @@ try:
generateDaca2Report(f.nlst(FTPPATH))
except socket.error:
pass
except EOFError:
pass
# remove all files/folders except results.txt
removeAllExceptResults()