Linter fix: define self.tmp_src_file_path in init
This commit is contained in:
parent
be39d3354d
commit
2332e7fb76
@ -171,6 +171,7 @@ class AudioFile:
|
|||||||
self.open_file = None
|
self.open_file = None
|
||||||
self.open_wav = None
|
self.open_wav = None
|
||||||
self.tmp_file_path = None
|
self.tmp_file_path = None
|
||||||
|
self.tmp_src_file_path = None
|
||||||
|
|
||||||
def __enter__(self):
|
def __enter__(self):
|
||||||
if self.audio_path.endswith('.wav'):
|
if self.audio_path.endswith('.wav'):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user