mirror of
https://github.com/FutaGuard/LowTechFilter.git
synced 2025-06-21 05:21:02 +08:00
🐛 pure domain bug
This commit is contained in:
parent
1b564c47ca
commit
0fca362f7a
@ -82,7 +82,7 @@ for category in filterlist:
|
||||
# hosts to domains
|
||||
def to_pure_domain(filename: str, data: str):
|
||||
data = data.splitlines()
|
||||
newdata = '\n'.join(data[5:])
|
||||
newdata = '\n'.join(data)
|
||||
desc = '\n'.join(x.replace('!', '#') for x in data[:5]) + '\n'
|
||||
|
||||
name = filename.split('.txt')[0]
|
||||
|
Loading…
x
Reference in New Issue
Block a user