Closed thawn closed 1 year ago
If I perform a workflow operation on an image with double underscores, and then try to generate code, I get a IndexError: string index out of range
IndexError: string index out of range
steps to reproduce:
the culprit is line 503 in _workflow.py
temp = "".join([t[0] for t in temp.split("_")])
temp.split("_") produces an empty string for two consecutive underscores, hence t[0] throws the IndexError.
I'll provide a pull request in a moment
closed by #35
If I perform a workflow operation on an image with double underscores, and then try to generate code, I get a
IndexError: string index out of range
steps to reproduce:
the culprit is line 503 in _workflow.py
temp.split("_") produces an empty string for two consecutive underscores, hence t[0] throws the IndexError.
I'll provide a pull request in a moment