Skip to content

Commit

Permalink
[checksum.py] fixed incorrect variable used in stderr message
Browse files Browse the repository at this point in the history
  • Loading branch information
chrissimpkins committed Feb 26, 2018
1 parent 2329d65 commit 35a6b09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/scripts/checksum/checksum.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 35a6b09

Please sign in to comment.