Skip to content

Commit 7878da0

Browse files
authored
Update plotly_resampler/figure_resampler/utils.py
1 parent be92a60 commit 7878da0

File tree

1 file changed

+1
-1
lines changed
  • plotly_resampler/figure_resampler

1 file changed

+1
-1
lines changed

plotly_resampler/figure_resampler/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def timedelta_to_str(td: pd.Timedelta) -> str:
128128
if c.days > 0:
129129
out_str += f"{c.days}D"
130130
if c.hours > 0 or c.minutes > 0 or c.seconds > 0 or c.milliseconds > 0:
131-
out_str += "_" if out_str else out_str
131+
out_str += "_" if out_str else ""
132132

133133
if c.hours > 0:
134134
out_str += f"{c.hours}h"

0 commit comments

Comments
 (0)