Skip to content

Commit f700366

Browse files
committed
change default html_file and make it an option
1 parent 1b4856f commit f700366

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

examples/filetable.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@ def main():
113113
"--firefly_url", help="URL for Firefly server", default=os.getenv("FIREFLY_URL")
114114
)
115115
parser.add_argument("--channel", help="channel name for websocket", default=None)
116+
parser.add_argument(
117+
"--html_file",
118+
help="Firefly landing page (default 'firefly.html')",
119+
default="firefly.html",
120+
)
116121
parser.add_argument(
117122
"--printurl",
118123
help="print browser url instead of" + " attempting to launch browser",
@@ -129,11 +134,12 @@ def main():
129134
recursion = not args.norecursion
130135
sort = args.sort
131136
path_prefix = args.path_prefix
137+
html_file = args.html_file
132138

133139
fc = firefly_client.FireflyClient.make_client(
134140
url=firefly_url,
135141
channel_override=channel,
136-
html_file="slate.html",
142+
html_file=html_file,
137143
launch_browser=launch_browser,
138144
)
139145
if printurl:

0 commit comments

Comments
 (0)