mirror of
https://github.com/gSpotx2f/ruantiblock_openwrt.git
synced 2026-05-13 22:20:59 +00:00
Merge pull request #157 from toxeh/master
fix: multiple bugs across shell, lua and python modules
This commit is contained in:
@@ -477,7 +477,7 @@ class Summarize:
|
||||
def _group_ip_ranges(cls, ip_list, raw_list=None):
|
||||
def remove_items(start, end):
|
||||
for ip in range(int(start), int(end) + 1):
|
||||
raw_list.remove(str(IPv4Address(ip)))
|
||||
raw_list.pop(str(IPv4Address(ip)), None)
|
||||
|
||||
start = end = None
|
||||
hosts = 1
|
||||
|
||||
Reference in New Issue
Block a user