Simple fix for a unicode error when editing a request URL.

This commit is contained in:
Aldo Cortesi 2011-10-26 14:49:15 +13:00
parent ee71bcfbe8
commit 3b246f7e27
2 changed files with 11 additions and 11 deletions

View File

@ -426,7 +426,7 @@ class ConnectionView(WWrap):
def set_url(self, url):
request = self.flow.request
if not request.set_url(url):
if not request.set_url(str(url)):
return "Invalid URL."
self.master.refresh_connection(self.flow)