|
@@ -52,12 +52,14 @@ def getImage(setup, row, field, extraPath=None):
|
|
urlPath=fb.formatPathURL(setup['project'],remotePath)
|
|
urlPath=fb.formatPathURL(setup['project'],remotePath)
|
|
localPath=os.path.join(setup['localDir'],row[field])
|
|
localPath=os.path.join(setup['localDir'],row[field])
|
|
if os.path.isfile(localPath):
|
|
if os.path.isfile(localPath):
|
|
- print('{} done'.format(localPath))
|
|
|
|
|
|
+ pass
|
|
|
|
+ #print('{} done'.format(localPath))
|
|
else:
|
|
else:
|
|
if not fb.entryExists(urlPath):
|
|
if not fb.entryExists(urlPath):
|
|
print('No file {}'.format(urlPath))
|
|
print('No file {}'.format(urlPath))
|
|
return "NONE"
|
|
return "NONE"
|
|
fb.readFileToFile(urlPath,localPath)
|
|
fb.readFileToFile(urlPath,localPath)
|
|
|
|
+ print('Copying remote {} -> {} done'.format(urlPath,localPath))
|
|
return localPath
|
|
return localPath
|
|
|
|
|
|
def getSegmentations(setup,row):
|
|
def getSegmentations(setup,row):
|