Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
staffanm committed Jan 21, 2017
1 parent 561fec1 commit dc14bca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ferenda/sources/legal/se/direktiv.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,8 @@ def infer_identifier(self, basefile):
def postprocess_doc(self, doc):
next_is_title = False
newbody = Body()
for para in doc.body.textboxes(pageobjects=True):
glue = lambda x, y, z: False
for para in doc.body.textboxes(gluefunc=glue, pageobjects=True):
strpara = str(para).strip()
if strpara == "Kommittédirektiv":
next_is_title = True
Expand Down

0 comments on commit dc14bca

Please sign in to comment.