Browse Source

accept HumanDNA instead of HumanDNAAI

David Rose 21 years ago
parent
commit
faac5ba300
1 changed files with 2 additions and 1 deletions
  1. 2 1
      direct/src/distributed/ServerRepository.py

+ 2 - 1
direct/src/distributed/ServerRepository.py

@@ -144,7 +144,8 @@ class ServerRepository:
 
             # Also try it without the dcSuffix.
             if classDef == None:
-                classDef = dcImports.get(dcClass.getName())
+                className = dclass.getName()
+                classDef = dcImports.get(className)
             
             if classDef == None:
                 self.notify.info("No class definition for %s." % (className))