mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-19 17:47:25 -05:00
Merge pull request #15832 from AUTOMATIC1111/xyz-csv-skipinitialspace
XYZ CSV skipinitialspace
This commit is contained in:
@@ -209,7 +209,7 @@ def list_to_csv_string(data_list):
|
|||||||
|
|
||||||
|
|
||||||
def csv_string_to_list_strip(data_str):
|
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:
|
class AxisOption:
|
||||||
|
|||||||
Reference in New Issue
Block a user