mirror of
https://github.com/Johnshall/Shadowrocket-ADBlock-Rules-Forever.git
synced 2025-12-18 07:44:57 +08:00
调试
This commit is contained in:
@@ -37,7 +37,7 @@ def getRulesStringFromFile(path, kind):
|
||||
prefix = 'IP-CIDR'
|
||||
if '/' not in content:
|
||||
content += '/32'
|
||||
elif '.' not in content:
|
||||
elif '.' not in content and len(content) > 1:
|
||||
prefix = 'DOMAIN-KEYWORD'
|
||||
|
||||
ret += prefix + ',%s,%s\n' % (content, kind)
|
||||
|
||||
Reference in New Issue
Block a user