hnluo
2023-03-13 a5b5e64fdc1ea7f3cff03b3ce96015bcc3ed7828
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()