log ui directory
This commit is contained in:
parent
41a0590182
commit
200d239e0b
1 changed files with 2 additions and 0 deletions
|
@ -54,8 +54,10 @@ def start():
|
||||||
if args.ui != "temp" and os.path.isdir(args.ui):
|
if args.ui != "temp" and os.path.isdir(args.ui):
|
||||||
download_ui = False
|
download_ui = False
|
||||||
ui_dir = args.ui
|
ui_dir = args.ui
|
||||||
|
log.info("Using user specified UI directory: " + str(ui_dir))
|
||||||
|
|
||||||
if args.ui == "temp" or download_ui:
|
if args.ui == "temp" or download_ui:
|
||||||
|
log.info("Downloading current web ui to temp directory")
|
||||||
ui_dir = tempfile.mkdtemp()
|
ui_dir = tempfile.mkdtemp()
|
||||||
url = urlopen("https://rawgit.com/lbryio/lbry-web-ui/master/dist.zip")
|
url = urlopen("https://rawgit.com/lbryio/lbry-web-ui/master/dist.zip")
|
||||||
z = ZipFile(StringIO(url.read()))
|
z = ZipFile(StringIO(url.read()))
|
||||||
|
|
Loading…
Add table
Reference in a new issue