Fix wrong configentry beeing processed for hashcount
This commit is contained in:
@@ -78,7 +78,7 @@ def main():
|
|||||||
print "[BUILDING] Calculating number of entries in Inputfile..."
|
print "[BUILDING] Calculating number of entries in Inputfile..."
|
||||||
num_lines = sum(bl.count("\n") for bl in blocks(f_line))
|
num_lines = sum(bl.count("\n") for bl in blocks(f_line))
|
||||||
else:
|
else:
|
||||||
num_lines=conf.getint("error_rate")
|
num_lines=conf.getint("hash_count")
|
||||||
print "[BUILDING] There are {} {}s in the Database".format(num_lines,hashfile_type)
|
print "[BUILDING] There are {} {}s in the Database".format(num_lines,hashfile_type)
|
||||||
with open(nsrl_path) as f_nsrl:
|
with open(nsrl_path) as f_nsrl:
|
||||||
# Strip off header
|
# Strip off header
|
||||||
|
|||||||
Reference in New Issue
Block a user