addinfourl instance has no attribute '__exit__'