Skip to content

Commit 35a6b09

Browse files
committed
[checksum.py] fixed incorrect variable used in stderr message
1 parent 2329d65 commit 35a6b09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/scripts/checksum/checksum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def check_checksum(filepaths):
101101
check_failed = False
102102
for path in filepaths:
103103
if not os.path.exists(path):
104-
sys.stderr.write("[checksum.py] ERROR: " + filepath + " is not a valid filepath" + os.linesep)
104+
sys.stderr.write("[checksum.py] ERROR: " + path + " is not a valid filepath" + os.linesep)
105105
sys.exit(1)
106106

107107
with open(path, mode='r') as file:

0 commit comments

Comments
 (0)