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