safer str
This commit is contained in:
parent
6d6437ab7d
commit
fa3fdeb53c
|
|
@ -4,6 +4,8 @@ from modules.path import fooocus_expansion_path
|
|||
|
||||
|
||||
def safe_str(x):
|
||||
for _ in range(16):
|
||||
x = x.replace(' ', ' ')
|
||||
return str(x).rstrip(",. \r\n")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue