Skip to content

Commit 4755ae6

Browse files
pre-commit-ci[bot]lexierule
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6d1ee3b commit 4755ae6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytorch_lightning/loggers/csv_logs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def save(self) -> None:
9595
metrics_keys = list(last_m.keys())
9696

9797
with open(self.metrics_file_path, "w", newline="") as f:
98-
# Don't assign the writer to self.
98+
# Don't assign the writer to self.
9999
# Keeps an open reference and prevents pickling otherwise
100100
writer = csv.DictWriter(f, fieldnames=metrics_keys)
101101
writer.writeheader()

0 commit comments

Comments
 (0)