From bc361463d9f1e6af6117b886c76b4226c7943d78 Mon Sep 17 00:00:00 2001 From: SG Date: Thu, 4 Jan 2024 13:27:22 -0700 Subject: [PATCH] work in progress for idaholab/Malcolm#288 --- shared/bin/extracted_files_http_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/bin/extracted_files_http_server.py b/shared/bin/extracted_files_http_server.py index edd76170e..7d3817a2e 100755 --- a/shared/bin/extracted_files_http_server.py +++ b/shared/bin/extracted_files_http_server.py @@ -74,7 +74,7 @@ def do_GET(self): SimpleHTTPRequestHandler.do_GET(self) else: - if recursive and (not os.path.isfile(fullpath)) and (not os.path.islink(fullpath)): + if args.recursive and (not os.path.isfile(fullpath)) and (not os.path.islink(fullpath)): for root, dirs, files in os.walk(os.path.dirname(fullpath)): if fileBaseName in files: fullpath = os.path.join(root, fileBaseName)