diff --git a/direct/src/directnotify/RotatingLog.py b/direct/src/directnotify/RotatingLog.py index d7b9b06d34..66ba5ed45f 100755 --- a/direct/src/directnotify/RotatingLog.py +++ b/direct/src/directnotify/RotatingLog.py @@ -83,7 +83,8 @@ class RotatingLog: self.closed = self.file.closed self.mode = self.file.mode self.name = self.file.name - self.softspace = self.file.softspace + if hasattr(self.file, 'softspace'): + self.softspace = self.file.softspace #self.encoding = self.file.encoding # Python 2.3 #self.newlines = self.file.newlines # Python 2.3, maybe