mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-12-29 02:45:05 +08:00
xyz csv skipinitialspace
This commit is contained in:
parent
ddb28b33a3
commit
10f2407f48
@ -212,7 +212,7 @@ def list_to_csv_string(data_list):
|
||||
|
||||
|
||||
def csv_string_to_list_strip(data_str):
|
||||
return list(map(str.strip, chain.from_iterable(csv.reader(StringIO(data_str)))))
|
||||
return list(map(str.strip, chain.from_iterable(csv.reader(StringIO(data_str), skipinitialspace=True))))
|
||||
|
||||
|
||||
class AxisOption:
|
||||
|
Loading…
Reference in New Issue
Block a user