Don't close the file explicitly.

This commit is contained in:
Sjoerd Mullender 1993-12-16 14:02:44 +00:00
parent feaa7d296f
commit ad7324c71f

View file

@ -274,7 +274,6 @@ def setpos(self, pos):
self._soundpos = pos
def close(self):
self._file.close()
self._file = None
class Au_write:
@ -397,7 +396,7 @@ def close(self):
if self._nframeswritten != self._nframes or \
self._datalength != self._datawritten:
self._patchheader()
self._file.close()
self._file.flush()
self._file = None
#