Let $S^+$ denote that the test shows positive, $S$ the is accurate, $\bar S$ the test was inaccurate and $T$ person has the disease, $\bar T$ does not have the disease. Then the probability of interest is \begin{align*} P(T|S^+) &= \frac{P(TS^+)}{P(S^+)}\\\ &=\frac{P(S|T)P(T)}{P(ST)+P(\bar S \bar T)}\\\ &=\frac{P(S|T)P(T)}{P(S|T)P(T)+P(\bar S|\bar T)P(\bar T)}\\\ &=\frac{(.99)(.01)}{(.99)(.01)+(.01)(.99)}\\\ &=\frac{1}{2}. \end{align*}