ruantiblock: Default configuration changes. Fixed ruab_parser.py.

This commit is contained in:
gSpot
2022-04-11 18:55:15 +03:00
parent 97dff7b5a8
commit 2d1a7f14a8
8 changed files with 10 additions and 13 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ruantiblock-mod-py
PKG_VERSION:=0.9.1
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_MAINTAINER:=gSpot <https://github.com/gSpotx2f/ruantiblock_openwrt>
include $(INCLUDE_DIR)/package.mk
@@ -47,7 +47,6 @@ class Config:
"ZI_ALL_URL",
"AF_IP_URL",
"AF_FQDN_URL",
"AZ_ENCODING",
"RBL_ENCODING",
"ZI_ENCODING",
"AF_ENCODING",
@@ -149,7 +148,7 @@ class BlackListParser(Config):
self.url = "http://127.0.0.1"
self.records_separator = "\n"
self.fields_separator = ";"
self.ips_separator = " | "
self.ips_separator = "|"
self.default_site_encoding = "utf-8"
self.site_encoding = self.default_site_encoding