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:
parent
4f1d32dfcf
commit
e147e5dd77
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user