Skip to content

Commit

Permalink
corrected options.py to actually use real basefiles, not pathfrags...
Browse files Browse the repository at this point in the history
  • Loading branch information
staffanm committed Jun 15, 2017
1 parent 99d0e61 commit c2c0218
Show file tree
Hide file tree
Showing 2 changed files with 3,331 additions and 3,332 deletions.
1 change: 1 addition & 0 deletions ferenda/sources/legal/se/offtryck.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ def parse_body(self, fp, basefile):
# a PDFAnalyzer subclass instance as a property on the
# sanitized object (normally a PDFReader or
# StreamingPDFReader)
# - read doc-specific options specified in res/options/options.py
options = self.get_parse_options(basefile)
if options == "skip":
raise DocumentSkippedError("%s: Skipped because of options.py" % basefile,
Expand Down
Loading

0 comments on commit c2c0218

Please sign in to comment.