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)