|
@@ -280,7 +280,7 @@ class ServerRepository:
|
|
|
self.notify.error("Module %s does not define class %s." % (className, className))
|
|
self.notify.error("Module %s does not define class %s." % (className, className))
|
|
|
classDef = getattr(classDef, className)
|
|
classDef = getattr(classDef, className)
|
|
|
|
|
|
|
|
- if inspect.isclass(classDef):
|
|
|
|
|
|
|
+ if not inspect.isclass(classDef):
|
|
|
self.notify.error("Symbol %s is not a class name." % (className))
|
|
self.notify.error("Symbol %s is not a class name." % (className))
|
|
|
else:
|
|
else:
|
|
|
dclass.setClassDef(classDef)
|
|
dclass.setClassDef(classDef)
|