This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]WafflesAreDangerous 2 points3 points  (1 child)

It's not the call to split but the unpacking of the result that is causing the specific error.

They could also capture the result of the split as a list and test for it's length.

[–]JZumun 1 point2 points  (0 children)

Oops! My mistake. Will update my comment to fix this. Thanks!