Issue #118: fix – resolve problems with whitelisting domains.

This commit is contained in:
Steven Black 2016-04-01 23:49:22 -04:00
parent 05fb726082
commit 60c43d299b

View File

@ -292,7 +292,8 @@ def removeDupsAndExcl(mergeFile):
if os.path.isfile(settings["whitelistfile"]):
with open(settings["whitelistfile"], "r") as ins:
for line in ins:
if line.rstrip():
line = line.strip(" \t\n\r")
if line and not line.startswith("#"):
settings["exclusions"].append(line)
if not os.path.exists(settings["outputpath"]):