Revert "Update provider.py"

This reverts commit 74837e4faf3e9217ce31d1ff9349d11a7099b3ec.