嘉渊
2023-05-26 2e228a24815216d36cc6b3cce2f15fc88197a926
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()