From 00dd5eda573957b31f00373de1b49348d0e30f45 Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Wed, 30 May 2018 10:57:24 +0200 Subject: [PATCH] bugifix in utils --- honeypot/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/honeypot/utils.py b/honeypot/utils.py index 5b2bb43..803dd76 100644 --- a/honeypot/utils.py +++ b/honeypot/utils.py @@ -1,8 +1,8 @@ def extract_wiki_definitions(file_handle): - for line in fh: + for line in file_handle: if line.startswith('wikis = ['): break - for line in fh: + for line in file_handle: if line.startswith(']'): raise StopIteration parts = split_wiki_definitions(line)