0

Further glue for overlays. Make the validator actually validate. Also rough outlines for checking if

the render you've specified in the overlay actually exists and isn't itself.
This commit is contained in:
Richard Pastrick
2012-04-09 12:20:58 -07:00
parent 3ded0cfa9e
commit ebd8b287ed
2 changed files with 17 additions and 1 deletions

View File

@@ -55,7 +55,8 @@ def validateOverlays(renderlist):
if type(renderlist) != list:
raise ValidationException("Overlay must specify a list of renders")
for x in renderlist:
print x
if validateStr(x) == '':
raise ValidationException("%r must be a string"% x)
return renderlist
def validateWorldPath(worldpath):