Trying to avoid other problems due to non-existant initial file.
This commit is contained in:
parent
34363220c1
commit
47a2a99a1f
@ -85,6 +85,7 @@ class AudioWriter(object):
|
||||
file = self.wavefile
|
||||
self.wavefile = self.getWaveFile()
|
||||
|
||||
# if previously open file exists...
|
||||
if file is not None:
|
||||
file.close()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user