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

pull/405/head
Chris Simpkins 2018-02-25 19:38:43 +07:00
parent 2329d65f79
commit 35a6b098b3
1 changed files with 1 additions and 1 deletions

@ -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: