Python Continue If Error On Lg