corrected output string with single rules

This commit is contained in:
bandrel
2018-10-29 19:55:00 -04:00
parent 882d29d6a9
commit 639103b3f8

View File

@@ -903,8 +903,8 @@ def quick_crack():
selected_hcatRules.append(combined_choice)
else:
try:
selected_hcatRules.append(hcatPath + '/rules/' + hcatRules[int(choice) - 1])
except IndexError:
selected_hcatRules.append('-r {hcatPath}/rules/{selected_rule}'.format(selected_rule=hcatRules[int(choice) - 1],hcatPath=hcatPath))
except IndexError:NameError
continue
#Run Quick Crack with each selected rule