~ubuntu-branches/debian/sid/calibre/sid

« back to all changes in this revision

Viewing changes to src/calibre/gui2/toc/main.py

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2014-02-27 07:48:06 UTC
  • mto: This revision was merged to the branch mainline in revision 74.
  • Revision ID: package-import@ubuntu.com-20140227074806-64wdebb3ptosxhhx
Tags: upstream-1.25.0+dfsg
ImportĀ upstreamĀ versionĀ 1.25.0+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
743
743
 
744
744
    def update_item(self, item, where, name, frag, title):
745
745
        if isinstance(frag, tuple):
746
 
            frag = add_id(self.ebook, name, frag)
 
746
            frag = add_id(self.ebook, name, *frag)
747
747
        child = TOC(title, name, frag)
748
748
        child.dest_exists = True
749
749
        if item is None: