From d6c6a66c15613c34cdbafb32ae5facd3bade6ddd Mon Sep 17 00:00:00 2001 From: "FeRD (Frank Dana)" Date: Tue, 18 Oct 2022 20:49:16 +0000 Subject: [PATCH] port: Fix directory recursion --- blueprintcompiler/interactive_port.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blueprintcompiler/interactive_port.py b/blueprintcompiler/interactive_port.py index 10a9b56..229f238 100644 --- a/blueprintcompiler/interactive_port.py +++ b/blueprintcompiler/interactive_port.py @@ -87,7 +87,7 @@ def listdir_recursive(subdir): full = os.path.join(subdir, file) if full == "./subprojects": # skip the subprojects directory - return + continue if os.path.isfile(full): yield full elif os.path.isdir(full):