Python Value Does Not Match Pattern On Sewing