Skip to content

Commit cb12624

Browse files
committed
fix: tasks are only randomized if randomize_order is True
1 parent b9e0a49 commit cb12624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mapswipe_workers/mapswipe_workers/utils/process_mapillary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def filter_results(
222222
return None
223223
df = filter_by_timerange(df, start_time, end_time)
224224

225-
if randomize_order is not None:
225+
if randomize_order is True:
226226
df.sample(frac=1).reset_index(drop=True)
227227

228228
return df

0 commit comments

Comments
 (0)