Preventing errors where there is no previous wav file.
This commit is contained in:
parent
dff515be46
commit
d1a6654c1d
@ -85,6 +85,7 @@ class AudioWriter(object):
|
||||
file = self.wavefile
|
||||
self.wavefile = self.getWaveFile()
|
||||
|
||||
if file is not None:
|
||||
file.close()
|
||||
tmp_dir = CoreConfig().get_temporary_directory()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user