mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
oops
This commit is contained in:
parent
5ecdb79f5c
commit
97b3d29c2f
@ -326,7 +326,7 @@ class Table(object):
|
||||
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…
x
Reference in New Issue
Block a user