[checksum.py] fixed incorrect variable name in stderr message
This commit is contained in:
parent
d8e5f5cc37
commit
db38156b91
@ -71,7 +71,7 @@ def check_checksum(filepaths):
|
|||||||
check_failed = False
|
check_failed = False
|
||||||
for path in filepaths:
|
for path in filepaths:
|
||||||
if not os.path.exists(path):
|
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)
|
sys.exit(1)
|
||||||
|
|
||||||
with open(path, mode='r') as file:
|
with open(path, mode='r') as file:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user