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 @@ @@ -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)

Loading…
Cancel
Save