Fix undefined constructors in customClass()
This commit is contained in:
1 parent
f6f6d9282b
commit
a23c6a2871
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user