mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 04:52:48 +02:00
oops
This commit is contained in:
parent
5ecdb79f5c
commit
97b3d29c2f
1 changed files with 1 additions and 1 deletions
|
|
@ -326,7 +326,7 @@ def get_widths(self, maxwidth):
|
|||
if psum > 100:
|
||||
adjustable_columns.append(i)
|
||||
else:
|
||||
widths[i] = (wp/100.) * (maxwidth - (cols-1)*self.colpad)
|
||||
widths[i] = ceil((wp/100.) * (maxwidth - (cols-1)*self.colpad))
|
||||
else:
|
||||
adjustable_columns.append(i)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue