This commit is contained in:
Elijah Lopez
2020-08-14 14:48:49 -04:00
parent 9a90a0c310
commit ba232605db
3 changed files with 6 additions and 14 deletions

View File

@@ -132,7 +132,7 @@ class WavInfoReader:
scopes = ('fmt', 'data') # 'bext', 'ixml', 'info')
for scope in scopes:
attr: WavAudioFormat = self.__getattribute__(scope)
attr = self.__getattribute__(scope)
for field in attr._fields:
yield scope, field, attr.__getattribute__(field)