Commit ad7324c7 authored by Sjoerd Mullender's avatar Sjoerd Mullender

Don't close the file explicitly.

parent feaa7d29
......@@ -274,7 +274,6 @@ class Au_read:
self._soundpos = pos
def close(self):
self._file.close()
self._file = None
class Au_write:
......@@ -397,7 +396,7 @@ class Au_write:
if self._nframeswritten != self._nframes or \
self._datalength != self._datawritten:
self._patchheader()
self._file.close()
self._file.flush()
self._file = None
#
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment