* Abbruchbedingung eingefuegt
This commit is contained in:
parent
9510aeaf5c
commit
2c0f819a27
1 changed files with 86 additions and 83 deletions
|
@ -54,6 +54,7 @@ try:
|
|||
fussnoten = string.find(content,"<BR><HR><H4>Fuß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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue