Python: Fixed URL escape bug 2