Prechádzať zdrojové kódy

fixed error msg construction

Darren Ranalli 22 rokov pred
rodič
commit
babe3283bd

+ 1 - 1
direct/src/distributed/ClientRepository.py

@@ -82,7 +82,7 @@ class ClientRepository(DirectObject.DirectObject):
         self.dcFile = DCFile()
         readResult = self.dcFile.read(dcFileName)
         if not readResult:
-            self.notify.error("Could not read dcfile: " + dcFileName)
+            self.notify.error("Could not read dcfile: %s" % dcFileName.cStr())
         self.hashVal = self.dcFile.getHash()
         return self.parseDcClasses(self.dcFile)