Skip to content

Commit

Permalink
Update asn_anomalies.py
Browse files Browse the repository at this point in the history
  • Loading branch information
petya-vasileva authored Jan 28, 2025
1 parent a6425a6 commit 9a9ea1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/asn_anomalies.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def update_graphs(query_params):
print(src, dest)
if src and dest:
data = query_ASN_anomalies(src, dest)
print(data, data['ipv6'].unique())

if len(data) > 0:
if len(data['ipv6'].unique()) == 2:
ipv6_figure = generate_plotly_heatmap_with_anomalies(data[data['ipv6'] == True])
Expand Down

0 comments on commit 9a9ea1d

Please sign in to comment.