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)