Fix error due to splitting the url (to conform to PEP8) in last commit (e4f92a9a8d2f0adc644479d431834c2bacfbf8ba)