From 21d9e5d66f18b2ad725a200b4cfd6f1b56170f5c Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Thu, 19 Apr 2018 17:28:18 +0200 Subject: [PATCH] Add comment support in [tasks] section Signed-off-by: Clifford Wolf --- sbysrc/sby.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sbysrc/sby.py b/sbysrc/sby.py index b450000..5f33e1d 100644 --- a/sbysrc/sby.py +++ b/sbysrc/sby.py @@ -163,6 +163,8 @@ def read_sbyconfig(sbydata, taskname): continue if tasks_section: + if line.startswith("#"): + continue line = line.split() if len(line) > 0: tasklist.append(line[0]) -- 2.30.2