Browse Source

Verbosity in statustils.py

Andrej Studen @ VBOX 11 months ago
parent
commit
694cc28bf4
1 changed files with 3 additions and 1 deletions
  1. 3 1
      pythonScripts/statUtils.py

+ 3 - 1
pythonScripts/statUtils.py

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