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):