summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parse-deployment.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/parse-deployment.py b/parse-deployment.py
index 337a247..036efa6 100644
--- a/parse-deployment.py
+++ b/parse-deployment.py
@@ -18,6 +18,9 @@ def main(args):
templateContent = templateContent.replace(envKey, env[envKey])
for module in os.listdir('modules'):
+ if not os.path.isfile('modules/' + module + '/create-options.json'):
+ continue
+
with open('modules/' + module + '/create-options.json', 'r') \
as createOptionsFile:
createOptions = createOptionsFile.read().replace('"', '\\"')