fix for gopher selectors
This commit is contained in:
parent
45e894b041
commit
b9e0cf4b0b
|
@ -430,6 +430,8 @@ class GopherRenderer(AbstractRenderer):
|
||||||
if itemtype == "h" and path.startswith("URL:"):
|
if itemtype == "h" and path.startswith("URL:"):
|
||||||
url = path[4:]
|
url = path[4:]
|
||||||
else:
|
else:
|
||||||
|
if not path.startswith("/"):
|
||||||
|
path = "/"+path
|
||||||
url = "gopher://%s%s/%s%s" %(host,port,itemtype,path)
|
url = "gopher://%s%s/%s%s" %(host,port,itemtype,path)
|
||||||
linkline = url + " " + name
|
linkline = url + " " + name
|
||||||
links.append(linkline)
|
links.append(linkline)
|
||||||
|
|
Loading…
Reference in New Issue