2
from allmydata.scripts.common import get_alias, DEFAULT_ALIAS, escape_path, \
5
6
def webopen(options, opener=None):
6
7
nodeurl = options['node-url']
7
9
if not nodeurl.endswith("/"):
11
rootcap, path = get_alias(options.aliases, where, DEFAULT_ALIAS)
14
rootcap, path = get_alias(options.aliases, where, DEFAULT_ALIAS)
14
20
url = nodeurl + "uri/%s" % urllib.quote(rootcap)