Skip to content

Commit

Permalink
Cleanup previous PR
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Feb 2, 2025
1 parent dfe88a6 commit 7fff311
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/calibre/ebooks/oeb/transforms/split.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,10 +366,10 @@ def split_to_size(self, tree):
elif size <= self.max_flow_size:
self.split_trees.append(t)
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:
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)

def find_split_point(self, root):
Expand Down

0 comments on commit 7fff311

Please sign in to comment.