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

This commit is contained in:
Chris Simpkins 2018-02-25 19:35:06 -05:00
parent d8e5f5cc37
commit db38156b91

View File

@ -71,7 +71,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: