Commit f1a31614 authored by Manuel Günther's avatar Manuel Günther

Fixed interger division for py3

parent 60807d96
......@@ -59,7 +59,7 @@ class FrameSelector:
# get frames lineraly spread over all frames
indices = bob.bio.base.selected_indices(count, self.max_frames)
elif self.selection == 'step':
indices = range(self.step/2, count, self.step)[:self.max_frames]
indices = range(self.step//2, count, self.step)[:self.max_frames]
elif self.selection == 'all':
indices = range(0, count)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment