From 736adedf87fa6654c9a21f03a42f795d7965b387 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Thu, 27 Sep 2018 15:13:54 -0400 Subject: [PATCH] fix: too many _ --- bgpranking/shadowserverfetcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bgpranking/shadowserverfetcher.py b/bgpranking/shadowserverfetcher.py index d9e43a3..c68818f 100644 --- a/bgpranking/shadowserverfetcher.py +++ b/bgpranking/shadowserverfetcher.py @@ -76,7 +76,7 @@ class ShadowServerFetcher(): if '_' in type_content: type_content, details_type = type_content.split('_', maxsplit=1) if '_' in details_type: - details_type, sub = details_type.split('_') + details_type, sub = details_type.split('_', maxsplit=1) return list_type, country, (type_content, details_type, sub) return list_type, country, (type_content, details_type) return list_type, country, (type_content)