Browse Source

*** empty log message ***

David Rose 25 years ago
parent
commit
5d939e1e4d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      direct/src/distributed/ClientDistUpdate.py

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

@@ -54,7 +54,8 @@ class ClientDistUpdate:
         # Get the arguments into a list
         args = self.extractArgs(di)
         # Apply the function to the object with the arguments
-        apply(self.func, [do] + args)
+        if self.func != None:
+            apply(self.func, [do] + args)
         return None
 
     def extractArgs(self, di):