Smoking weed and being an Imaam

Question Assalamu Alaikum. If a person never stopped smoking weed 40 days prior to Ramadan commencing can he still lead other people im Tarawih Salah if he stops smoking from today and will not smoke in Ramadan? Jazakumullahu Khayran. Answer If a person openly sins...