... instead I suggest, that the file is ignored in DBPhotos.__addPhoto()
try:
iii = PhotoCmd(file,
needAutoRename=DBPhotos.normalizeName,
needAutoRotation=DBPhotos.autorotAtImport,
)
except IOError:
print ("*WARNING* File %s could not be loaded. Maybe it aint an image." % file)
nodeDir.remove(newNode)
return None
Original issue reported on code.google.com by florian....@gmail.com on 27 Aug 2010 at 8:55
Original issue reported on code.google.com by
florian....@gmail.com
on 27 Aug 2010 at 8:55