Merge pull request #15832 from AUTOMATIC1111/xyz-csv-skipinitialspace

XYZ CSV skipinitialspace
This commit is contained in:
AUTOMATIC1111 2024-06-08 10:46:26 +03:00 committed by GitHub
commit 5977cb0946
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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: