Skip to content

Commit

Permalink
Fix reference bug with double face + text join
Browse files Browse the repository at this point in the history
  • Loading branch information
jhong93 committed Sep 12, 2020
1 parent 25c6e08 commit a2ecf62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/route_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -902,12 +902,12 @@ def _search_and(
elif r2.type == SearchResultType.rust_iset:
# Result: python_iset
video_filter = get_video_filter(r2.context)
new_data = (
new_data = [
PythonISetData(
x.video, False,
intervals=intersect_isetmap(
x.video, r2.data, x.intervals))
for x in r1.data if video_filter(x.video))
for x in r1.data if video_filter(x.video)]
curr_result = SearchResult(
SearchResultType.python_iset,
data=filter(lambda x: len(x.intervals) > 0,
Expand Down

0 comments on commit a2ecf62

Please sign in to comment.