Traceback (most recent call last):
File "exportiphoto.py", line 635, in <module>
library.walk([copyImage])
File "exportiphoto.py", line 304, in walk
func(imageId, targetFileDir, folderDate)
File "exportiphoto.py", line 629, in copyImage
library.copyImage(imageId, folderName, folderDate)
File "exportiphoto.py", line 359, in copyImage
basename = os.path.basename(mFilePath)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py", line 112, in basename
AttributeError: 'NoneType' object has no attribute 'rfind'
After a bit of digging, mFilePath on line 359 comes up as None. I would like to just skip these entries but I am not really sure how. Any suggestions on how to cleanly move on to the next image from this point in the code would be super helpful.
Thanks.
I keep hitting an exception:
After a bit of digging, mFilePath on line 359 comes up as None. I would like to just skip these entries but I am not really sure how. Any suggestions on how to cleanly move on to the next image from this point in the code would be super helpful.
Thanks.