Explorar o código

Clearing syntay errors in statUtils.py

nixWorker hai 1 día
pai
achega
c0ca112116
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pythonScripts/statUtils.py

+ 1 - 1
pythonScripts/statUtils.py

@@ -53,7 +53,7 @@ def getImage(setup, row, field, extraPath=None):
     try:
     try:
         #if row[field] is None, this fails
         #if row[field] is None, this fails
         remotePath='/'.join(pathList)
         remotePath='/'.join(pathList)
-    except TypError:
+    except TypeError:
         #return marker for failed
         #return marker for failed
         return "NONE"
         return "NONE"
     urlPath=fb.formatPathURL(setup['project'],remotePath)
     urlPath=fb.formatPathURL(setup['project'],remotePath)