I need some tips for proving this proposition:
Let $f:[a,b] \to \mathbb{R}$ be a bounded function and let $t_k\in(a,b)$ be such that $t_k<t_{k+1}$ for $k=1,\dots,n-1$. Suppose that $f$ is continuous on $[a,b]\setminus{\{t_1,\dots,t_n\}}$. Prove that $f$ is integrable on $[a,b]$.
I thought that I could use Riemann's Criterion which is given as $\forall\epsilon>0$,
$$\begin{equation} U(f,P)-L(f,P)<\epsilon, \end{equation}$$
where $P$ is a partition of $[a,b]$ and $U(f,P)$ and $L(f,P)$ are the upper and lower sums of $f$ respectively.
Strategy: Cordon off the points where $f$ might be discontinous, and then apply the fact (which I'm guessing you know) that a continuous function is Riemann integrable to the restriction of $f$ to each of the subintervals left after the cordoning.
Out of laziness, I'll assume there's just one discontinuity point $t_1\in(a,b)$. Fix $\epsilon>0$. Because $f$ is bounded, there are numbers $m<M$ such that $m\le f(x)\le M$ for all $x\in[a,b]$. Now define $u=t_1-\delta$ and $v=t_1+\delta$, where $\delta>0$ is chosen to be smaller than $\epsilon/[6(M-m)]$ and also smaller than the distance between $t_1$ and either of $a$ or $b$. Now think of $[a,b]$ as broken up into three pieces: $[a,u], [u,v], [v,b]$. By hypothesis, $f$ is continuous on $[a,u]$ and on $[v,b]$. Therefore there is a partition $P_1$ of $[a,u]$ such that $U(f,P_1)-L(f,P_1)<\epsilon/3$ and a partition $P_2$ of $[v,b]$ such that $U(f,P_2)-L(f,P_3)<\epsilon/3$. Consider now the partition $P$ of $[a,b]$ consisting of $P_1\cup\{u,v\}\cup P_2$. Your task is to show that $U(f,P)-L(f,P)<\epsilon$.