Revert "Update wnf.py"

This reverts commit 9ce8ff981f562bef5ac51c37d2e58713215ed977.