From 74243cd45ede3b2f91f11dee2d892076b2913749 Mon Sep 17 00:00:00 2001 From: quackerd Date: Sun, 19 Jun 2022 22:27:50 -0400 Subject: [PATCH] initial commit --- docker_update.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker_update.py b/docker_update.py index 1febf63..8d1ee56 100644 --- a/docker_update.py +++ b/docker_update.py @@ -14,6 +14,8 @@ with open(spec_file,"r") as f: for line in lines: s = line.strip() + if s.startswith("#"): + continue fullpath = os.path.join(path, s) if os.path.isdir(fullpath) and ("docker-compose.yml" in os.listdir(fullpath)): fullpath = os.path.join(fullpath, "docker-compose.yml")