smohan-speech
2023-05-08 af6740a2207840a772261b8a033ab9996f862529
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()