diff --git a/direct/src/distributed/DistributedObject.py b/direct/src/distributed/DistributedObject.py index 7bb16c9e7a..de067969e8 100644 --- a/direct/src/distributed/DistributedObject.py +++ b/direct/src/distributed/DistributedObject.py @@ -96,14 +96,14 @@ class DistributedObject(DistributedObjectBase): except Exception, e: print "%serror printing status"%(spaces,), e def setNeverDisable(self, bool): - assert (bool == 1) or (bool == 0) + assert bool == 1 or bool == 0 self.neverDisable = bool def getNeverDisable(self): return self.neverDisable def setCacheable(self, bool): - assert (bool == 1) or (bool == 0) + assert bool == 1 or bool == 0 self.cacheable = bool def getCacheable(self):