Broken leg while supposed to get restricted license next month

Broke my leg on Wednesday, (not alcohol related) I need surgery and everything but will this affect the judge wanting to give me my license back? My left fibula is broken so yea, not my driving leg. I don’t know. Just kind of bad luck I guess