mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
efb83eb6fc
commit
9e9abf640a
@ -497,7 +497,7 @@ class Container(object): # {{{
|
||||
|
||||
def filesize(self, name):
|
||||
if name in self.dirtied:
|
||||
self.commit_item(name)
|
||||
self.commit_item(name, keep_parsed=True)
|
||||
path = self.name_to_abspath(name)
|
||||
return os.path.getsize(path)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user