1
0
mirror of https://github.com/minoplhy/filters-maker.git synced 2024-12-22 10:08:11 +00:00

crawler.excluded : else

This commit is contained in:
minoplhy 2021-11-15 17:25:53 +07:00
parent 4f1d32dfcf
commit e147e5dd77
Signed by: minoplhy
GPG Key ID: 90667A59A9908AEC

View File

@ -159,9 +159,7 @@ def excluded(excluded ,incoming):
for line in lines:
if line.strip() and not line in exclude:
f.write('\n'.join([line + '\n']))
elif line.startswith((tuple(exline))):
f.write('\n'.join([line + '\n']))
elif not line.strip():
else:
f.write('\n'.join([line + '\n']))
def blankremover(incoming):