Commit 1a987e1e authored by Simon Will's avatar Simon Will
Browse files

Use better title for HypotacticDocument

parent d06742e6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -136,7 +136,7 @@ class HypotacticDocument:
        with open(file_path) as f:
            try:
                self.root = BeautifulSoup(f, parser)
                self.title = self.root.title
                self.title = self.root.title.text
            except Exception as e:
                print('Exception {!r} when parsing file {!r}'
                      .format(e, file_path))