Merge pull request #7 from floorcat/patch-1

Remove newlines from blacklist items
This commit is contained in:
2023-01-22 17:40:25 +01:00
committed by GitHub
+1 -1
View File
@@ -36,7 +36,7 @@ def get_list_blacklist():
with open(file_path, 'r') as f:
# Read each line in the file and append it to the list
for line in f:
things_to_black_list.append(line)
things_to_black_list.append(line.rstrip())
return things_to_black_list