tallforasmurf / PPQT

A post-processing tool for PGDP written in Python, PyQt4, and Qt
GNU General Public License v3.0
4 stars 2 forks source link

text reflow conversion is broken #167

Closed bibimbop closed 10 years ago

bibimbop commented 10 years ago

Traceback (most recent call last):

File "pqFlow.py", line 375, in reflowDocument self.theRealReflow(topBlock,endBlock) File "pqFlow.py", line 601, in theRealReflow fixPageBreaks(listOfBreaks) File "pqFlow.py", line 1206, in fixPageBreaks IMC.pageTable.setPosition(i).setPosition(p) TypeError: setPosition() takes exactly 3 arguments (2 given)

The two setPosition look suspicious :)

IMC.pageTable.setPosition(i).setPosition(p)