Fix warning message in animation.cfg parsing functions

Signed-off-by: Zack Middleton <zturtleman@gmail.com>