Fix brown-paper-bag bug in argument checking.

This commit is contained in:
Eric S. Raymond 2008-02-14 05:13:32 +00:00
parent 608ded4239
commit 948bc32489
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@
#! )}
[if]
[variable]
name={VAR_NAME}
name={VAR}
{OP_NAME}={VALUE}
[/variable]

View file

@ -83,7 +83,7 @@ def formaltype(f):
ftype = "image"
elif f in ("MUSIC",) or f.endswith("SOUND"):
ftype = "sound"
elif f in ("FILTER"):
elif f in ("FILTER",):
ftype = "filter"
elif f.endswith("_WML"):
ftype = "wml"