Browse Source

Put try around handle command string

Mark Mine 23 years ago
parent
commit
4feedb0592
1 changed files with 4 additions and 1 deletions
  1. 4 1
      direct/src/cluster/ClusterServer.py

+ 4 - 1
direct/src/cluster/ClusterServer.py

@@ -201,5 +201,8 @@ class ClusterServer(DirectObject.DirectObject):
     def handleCommandString(self, dgi):
         """ Handle arbitrary command string from client """
         command = self.msgHandler.parseCommandStringDatagram(dgi)
-        exec( command, globals() )
+        try:
+            exec( command, globals() )
+        except:
+            pass