avoid troubles with /echo/ tag by considering it as a comment

This commit is contained in:
Martin Diehl 2015-03-13 14:46:11 +00:00
parent ac3d82493e
commit 89fa31b070
1 changed files with 1 additions and 1 deletions

View File

@ -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)