Skip to content
Snippets Groups Projects
Commit a23c6a28 authored by Bob Lantz's avatar Bob Lantz
Browse files

Fix undefined constructors in customClass()

parent f6f6d928
No related branches found
No related tags found
No related merge requests found
......@@ -533,7 +533,7 @@ def customClass( classes, argStr ):
if not cname:
raise Exception( "error: %s is unknown - please specify one of %s" %
( cname, constructors.keys() ) )
( cname, classes.keys() ) )
if not args and not kwargs:
return cls
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment