* Abbruchbedingung eingefuegt

This commit is contained in:
phil 2006-06-16 08:52:01 +00:00
parent 9510aeaf5c
commit 2c0f819a27

View file

@ -54,6 +54,7 @@ try:
fussnoten = string.find(content,"<BR><HR><H4>Fu&szlig;noten</H4>")
startoffset = string.find(content,"</DL>",fussnoten)
endoffset = startoffset + len("</DL>")
if startoffset > 10 and endoffset > 10:
content = content[:startoffset] + "</DL>\n</div>" + content[endoffset:]
# Linie vor Fussnoten wird entfernt
@ -81,3 +82,5 @@ except: #read/write/whatever failed,
print "usage:",sys.argv[0],"<file_to_modify>"
sys.exit(1)
sys.exit(0)