Explorar el Código

[checksum.py] fixed incorrect variable used in stderr message

Chris Simpkins hace 7 años
padre
commit
35a6b098b3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tools/scripts/checksum/checksum.py

+ 1 - 1
tools/scripts/checksum/checksum.py

@@ -101,7 +101,7 @@ def check_checksum(filepaths):
     check_failed = False
     for path in filepaths:
         if not os.path.exists(path):
-            sys.stderr.write("[checksum.py] ERROR: " + filepath + " is not a valid filepath" + os.linesep)
+            sys.stderr.write("[checksum.py] ERROR: " + path + " is not a valid filepath" + os.linesep)
             sys.exit(1)
 
         with open(path, mode='r') as file: