Browse Source

bugifix in utils

main
Holger Frey 7 years ago
parent
commit
00dd5eda57
  1. 4
      honeypot/utils.py

4
honeypot/utils.py

@ -1,8 +1,8 @@
def extract_wiki_definitions(file_handle): def extract_wiki_definitions(file_handle):
for line in fh: for line in file_handle:
if line.startswith('wikis = ['): if line.startswith('wikis = ['):
break break
for line in fh: for line in file_handle:
if line.startswith(']'): if line.startswith(']'):
raise StopIteration raise StopIteration
parts = split_wiki_definitions(line) parts = split_wiki_definitions(line)

Loading…
Cancel
Save