Compare commits

...

2 Commits

Author SHA1 Message Date
Imrayya 8b5c9f0f7e Merge pull request #7 from floorcat/patch-1
Remove newlines from blacklist items
2023-01-22 17:40:25 +01:00
floorcat c83219b6ac Remove newlines from blacklist items
I noticed blacklist not working for me, this fixes it.
2023-01-22 17:58:10 +02:00
+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