From d8fd985a08ef84109fd7f9844e01b47c928a4884 Mon Sep 17 00:00:00 2001 From: asamoukin Date: Wed, 9 Jul 2008 18:58:13 +0000 Subject: [PATCH] git-svn-id: http://svn.calculate.ru/calculate2/calculate-lib/trunk@50 c91db197-33c1-4113-bf15-f8a5c547ca64 --- pym/cl_profile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/cl_profile.py b/pym/cl_profile.py index c26da2d..41879f8 100644 --- a/pym/cl_profile.py +++ b/pym/cl_profile.py @@ -1900,7 +1900,8 @@ class profile(_file, _terms): self.nameFileNew = self.absFileName(newFile) self.FN = self.openNewFile(self.nameFileNew) self.newProfile = self.FN.read() - self.closeNewFile() + self.FN.close() + self.FN = False objHeadNew = calcHeader(self.newProfile, False, self.getFileType(),objVar=self.objVar) if not objHeadNew.headerTerm: