From 1b3f680951cd5d5d7a37731eca50659da65c8263 Mon Sep 17 00:00:00 2001 From: arkiver Date: Sat, 30 May 2020 20:20:35 -0400 Subject: [PATCH] Flush written dictionary. --- megawarc | 1 + 1 file changed, 1 insertion(+) diff --git a/megawarc b/megawarc index 20f0411..e89567d 100755 --- a/megawarc +++ b/megawarc @@ -429,6 +429,7 @@ class MegawarcPacker(object): init_zst_megawarc(self.megawarcs[dict_id]["warc"]["file"], project, dict_id, self.dict_server) ) + self.megawarcs[dict_id]["dict"]["file"].flush() json_out = self.megawarcs[dict_id]["json"]["file"] warc_out = self.megawarcs[dict_id]["warc"]["file"] tar_out = self.megawarcs[dict_id]["tar"]