Skip to content

Commit de57cd4

Browse files
committed
Print a message while files are being searched for
1 parent 8d84ac0 commit de57cd4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

examples/filetable.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,15 @@ def main():
7979

8080
fc = firefly_client.FireflyClient.make_client(url=firefly_url, channel_override=channel, html_file="slate.html", launch_browser=launch_browser)
8181
if printurl:
82-
print("Firefly url is {}".format(fc.get_firefly_url()))
82+
print("Firefly URL is {}".format(fc.get_firefly_url()))
8383

84+
print("Searching for files...", end="")
8485
tbl_val, metainfo = filetable_to_firefly(fc, topdir, pattern,
8586
recursive=recursion)
87+
print("done.")
88+
8689
if printurl:
87-
input("Press Enter to continue after your browser is open...")
90+
input("Press Enter after your browser is open to the Firefly URL...")
8891

8992
r = fc.add_cell(0, 0, 1, 2, "tables", "main")
9093
fc.show_table(tbl_val, meta=metainfo)

0 commit comments

Comments
 (0)