From a3b9f73b87b1ab17c735b4b0eb80780feac0e2b7 Mon Sep 17 00:00:00 2001 From: Darren Ranalli Date: Wed, 17 Sep 2008 00:25:58 +0000 Subject: [PATCH] doubled digits in profile filenames --- direct/src/showbase/PythonUtil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/showbase/PythonUtil.py b/direct/src/showbase/PythonUtil.py index 14e2d0a3a8..63a9a99447 100644 --- a/direct/src/showbase/PythonUtil.py +++ b/direct/src/showbase/PythonUtil.py @@ -937,7 +937,7 @@ def startProfile(filename=PyUtilProfileDefaultFilename, callInfo=1, cmd='run()'): # 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: import profile PModules.profile = profile