Update spec_splitter.py

since last commit didn't work have undone it.