Remove newlines from blacklist items

I noticed blacklist not working for me, this fixes it.
This commit is contained in:
floorcat
2023-01-22 17:58:10 +02:00
committed by GitHub
parent 1ae50e4dd4
commit c83219b6ac
+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