Skip to content

Commit

Permalink
print error
Browse files Browse the repository at this point in the history
  • Loading branch information
evertonstz committed Dec 15, 2019
1 parent 8fc9332 commit d27fabd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pynps.py
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@ def validate(self, document):
if sha256_dl != sha256_exp:
loc = f"{DLFOLDER}/PKG/{i['System']}/{i['Type']}/{i['PKG direct link'].split('/')[-1]}"
printft(HTML("<red>[CHECKSUM] checksum not matching, pkg file is probably corrupted, delete it at your download folder and redownload the pkg</red>"))
printft(HTML("<red>[CHECKSUM] corrupted file location: </red>") %loc)
printft(HTML("<red>[CHECKSUM] corrupted file location: %s</red>") %loc)
break
else:
printft(HTML("<green>[CHECKSUM] downloaded is not corrupted!</green>"))
Expand Down

0 comments on commit d27fabd

Please sign in to comment.