嘉渊
2023-05-26 3a15e5392b3c7c6af7fd601c712bf834434c308a
funasr/fileio/datadir_writer.py
@@ -57,6 +57,7 @@
        self.keys.add(key)
        self.fd.write(f"{key} {value}\n")
        self.fd.flush()
    def __exit__(self, exc_type, exc_val, exc_tb):
        self.close()