mirror of
https://github.com/imrayya/stable-diffusion-webui-Prompt_Generator.git
synced 2024-01-11 09:00:44 +01:00
Remove newlines from blacklist items
I noticed blacklist not working for me, this fixes it.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user