I wouldn't be too worried if he/she ate a little bit of substrate. The acids in a ball pythons stomach are strong enough to dissolve bone, and teeth. And thats a lot harder to digest than a small piece of wood.