Skip to content

Commit 7fb343c

Browse files
committed
Fixblfgz still wasn't merged properly
1 parent f9961fd commit 7fb343c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

can/io/logger.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,12 +380,12 @@ def _default_name(self) -> StringPathLike:
380380
else:
381381
raise ValueError("More than two suffixes are seen.")
382382
new_name = (
383-
path.stem
383+
_stem
384384
+ "_"
385385
+ datetime.now().strftime("%Y-%m-%dT%H%M%S")
386386
+ "_"
387387
+ f"#{self.rollover_count:03}"
388-
+ path.suffix
388+
+ _suffix
389389
)
390390
return str(path.parent / new_name)
391391

0 commit comments

Comments
 (0)