avoid troubles with /echo/ tag by considering it as a comment
This commit is contained in:
parent
ac3d82493e
commit
89fa31b070
|
@ -148,7 +148,7 @@ class Material():
|
||||||
|
|
||||||
for line in content:
|
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.split('/')[0].strip() # kill comments and extra whitespace
|
||||||
line = line.lower() # be case insensitive
|
line = line.lower() # be case insensitive
|
||||||
if line: # content survives...
|
if line: # content survives...
|
||||||
match_part = re_part.match(line)
|
match_part = re_part.match(line)
|
||||||
|
|
Loading…
Reference in New Issue