From bdfdaa30d9208a492abc6a87ea71ae4f2cf3a97e Mon Sep 17 00:00:00 2001 From: bandrel Date: Mon, 5 Feb 2018 11:08:18 -0500 Subject: [PATCH] update string formating in usage() --- hate_crack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hate_crack.py b/hate_crack.py index 4a682c2..632b64b 100755 --- a/hate_crack.py +++ b/hate_crack.py @@ -58,7 +58,7 @@ hcatProcess = 0 # Help def usage(): print("usage: python hate_crack.py ") - print("\nThe is attained by running \"%s/%s --help\"\n" % (hcatPath, hcatBin)) + print("\nThe is attained by running \"{hcatBin} --help\"\n".format(hcatBin=hcatBin)) print("Example Hashes: http://hashcat.net/wiki/doku.php?id=example_hashes\n")