Skip to content

Commit

Permalink
Facepalm: actually return latest index on time slice fail..
Browse files Browse the repository at this point in the history
  • Loading branch information
goodboy committed Dec 1, 2022
1 parent e8f9a07 commit 552a8c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion piker/data/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def get_index(
return array['index'][mask][0]

# just the latest index
array['index'][-1]
return array['index'][-1]

def slice_from_time(
self,
Expand Down

0 comments on commit 552a8c2

Please sign in to comment.