Commit 5977cb09 authored by AUTOMATIC1111's avatar AUTOMATIC1111 Committed by GitHub

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

XYZ CSV skipinitialspace
parents 04164a83 10f2407f
...@@ -209,7 +209,7 @@ def list_to_csv_string(data_list): ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment