Skip to content

Commit

Permalink
Merge pull request #242 from sdementen/master
Browse files Browse the repository at this point in the history
fix 2 bugs #219 and #222
  • Loading branch information
stringertheory authored Feb 3, 2024
2 parents 550a2a1 + 2126fee commit 1831797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion traces/timeseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def set_interval(self, start, end, value, compact=False):
"""
# for each interval to render
for i, (s, _e, v) in enumerate(self.iterperiods(start, end)): # noqa: B007
for i, (s, _e, v) in enumerate(list(self.iterperiods(start, end))): # noqa: B007
# look at all intervals included in the current interval
# (always at least 1)
if i == 0:
Expand Down

0 comments on commit 1831797

Please sign in to comment.