Browse Source

doubled digits in profile filenames

Darren Ranalli 17 years ago
parent
commit
a3b9f73b87
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/showbase/PythonUtil.py

+ 1 - 1
direct/src/showbase/PythonUtil.py

@@ -937,7 +937,7 @@ def startProfile(filename=PyUtilProfileDefaultFilename,
                  callInfo=1,
                  callInfo=1,
                  cmd='run()'):
                  cmd='run()'):
     # uniquify the filename to allow multiple processes to profile simultaneously
     # uniquify the filename to allow multiple processes to profile simultaneously
-    filename = '%s.%s.%s' % (filename, randUint31(), randUint31())
+    filename = '%s.%s%s' % (filename, randUint31(), randUint31())
     if PModules.profile is None:
     if PModules.profile is None:
         import profile
         import profile
         PModules.profile = profile
         PModules.profile = profile