These two lines don't need to be inside the try/except.