mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-30 23:00:21 -04:00
Cleanup previous PR
This commit is contained in:
parent
dfe88a675e
commit
7fff311357
@ -366,10 +366,10 @@ class FlowSplitter:
|
|||||||
elif size <= self.max_flow_size:
|
elif size <= self.max_flow_size:
|
||||||
self.split_trees.append(t)
|
self.split_trees.append(t)
|
||||||
self.log.debug(
|
self.log.debug(
|
||||||
f'\t\t\tCommitted sub-tree #{len(self.split_trees)} ({size//1024} KB)')
|
f'\t\t\tCommitted sub-tree #{len(self.split_trees)} ({size/1024.0} KB)')
|
||||||
else:
|
else:
|
||||||
self.log.debug(
|
self.log.debug(
|
||||||
f'\t\t\tSplit tree still too large: {size//1024} KB')
|
f'\t\t\tSplit tree still too large: {size/1024.0} KB')
|
||||||
self.split_to_size(t)
|
self.split_to_size(t)
|
||||||
|
|
||||||
def find_split_point(self, root):
|
def find_split_point(self, root):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user