From 175dfce1f61e9c29f696077532dcff717175fc45 Mon Sep 17 00:00:00 2001 From: TKE Date: Fri, 24 Apr 2020 17:58:41 +0200 Subject: [PATCH] Fix wrong configentry beeing processed for hashcount --- nsrl/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nsrl/build.py b/nsrl/build.py index f2332cf..1e410ac 100644 --- a/nsrl/build.py +++ b/nsrl/build.py @@ -78,7 +78,7 @@ def main(): print "[BUILDING] Calculating number of entries in Inputfile..." num_lines = sum(bl.count("\n") for bl in blocks(f_line)) 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) with open(nsrl_path) as f_nsrl: # Strip off header