Use a more correct method name

This commit is contained in:
Kovid Goyal
2024-07-29 20:17:52 +05:30
parent 4ba9fcaf37
commit 9047df5080
4 changed files with 5 additions and 5 deletions

View File

@@ -183,7 +183,7 @@ class EncodedDataStore:
self.data_store(self.decoder.take_output())
def flush_encoded_data(self) -> None:
self.decoder.flush()
self.decoder.reinitialize()
if len(self.decoder):
self.data_store(self.decoder.take_output())