From 89fa31b070cbacc2bb8b32724c054ff4b67f245c Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Fri, 13 Mar 2015 14:46:11 +0000 Subject: [PATCH] avoid troubles with /echo/ tag by considering it as a comment --- lib/damask/config/material.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/damask/config/material.py b/lib/damask/config/material.py index f82b62488..2300746c3 100644 --- a/lib/damask/config/material.py +++ b/lib/damask/config/material.py @@ -148,7 +148,7 @@ class Material(): for line in content: line = line.split('#')[0].strip() # kill comments and extra whitespace - line = line.split('#')[0].strip() # kill comments and extra whitespace + line = line.split('/')[0].strip() # kill comments and extra whitespace line = line.lower() # be case insensitive if line: # content survives... match_part = re_part.match(line)