Skip to content

Commit

Permalink
fixed bug check_alerts_watchlists
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyWilliams committed Jul 1, 2022
1 parent 0f73327 commit 6683f2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pipeline/filter/check_alerts_watchlists.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ def read_watchlist_cache_files(cache_dir):
}
watchlist['moclist'] = moclist

watchlistlist.append(watchlist)
if len(moclist) > 0:
watchlistlist.append(watchlist)
return watchlistlist

def check_alerts_against_moc(alertlist, wl_id, moc, cones):
Expand Down

0 comments on commit 6683f2a

Please sign in to comment.