def handler():
            nonlocal called
            called += 1
            raise ValueError("yeah sync")
def _every_weekday(job, weekday, loop=None):
    return every(job, timedelta=timedelta(days=7), start_at=_nearest_weekday(weekday), loop=loop)