diff --git a/dap/accumulator.py b/dap/accumulator.py index 47a1651..30ecc61 100644 --- a/dap/accumulator.py +++ b/dap/accumulator.py @@ -78,14 +78,14 @@ class FileHandler: os.makedirs(dname, exist_ok=True) self.file = open(fname, "a") - def flush(self): - if self.file: - self.file.flush() - def close(self): if self.file: self.file.close() + def flush(self): + if self.file: + self.file.flush() +