diff --git a/direct/src/distributed/ConnectionRepository.py b/direct/src/distributed/ConnectionRepository.py index 573e530f3c..7817626a8f 100644 --- a/direct/src/distributed/ConnectionRepository.py +++ b/direct/src/distributed/ConnectionRepository.py @@ -34,7 +34,8 @@ class ConnectionRepository( self.config = config - self.setVerbose(self.config.GetBool('verbose-repository', 0)) + if hasattr(self, 'setVerbose'): + self.setVerbose(self.config.GetBool('verbose-repository', 0)) # Set this to 'http' to establish a connection to the server # using the HTTPClient interface, which ultimately uses the