It shouldn't. My OB gave me antibiotics for a sinus infection when I was 35 weeks.
I am 26 weeks and have had appendicectomy more than a week ago and had to have a course of 3 different antibiotics!
Doctor said there are thousands antibiotics which are safe during pregnancy, they just need to be aware that you are pregnant to prescribe you the right one
Thanks a lot ladies and all the best