mirror of
https://github.com/BlackLight/micmon.git
synced 2025-06-02 09:10:23 +02:00
Merge pull request #4 from jenssss/audio_file_error
Fixing AttributeError
This commit is contained in:
commit
e4e1d8495a
1 changed files with 1 additions and 1 deletions
|
@ -15,8 +15,8 @@ class AudioFile(AudioSource):
|
|||
*args, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
if isinstance(audio_file, AudioDirectory):
|
||||
audio_file = audio_file.audio_file
|
||||
labels_file = audio_file.labels_file
|
||||
audio_file = audio_file.audio_file
|
||||
|
||||
self.audio_file = os.path.abspath(os.path.expanduser(audio_file))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue