nightl
This commit is contained in:
@@ -49,8 +49,8 @@ class TrackDisposition(Enum):
|
||||
return dispositionList
|
||||
|
||||
@staticmethod
|
||||
def find(disposition):
|
||||
matchingDispositions = [d for d in TrackDisposition if d.label() == str(disposition)]
|
||||
def find(label):
|
||||
matchingDispositions = [d for d in TrackDisposition if d.label() == str(label)]
|
||||
if matchingDispositions:
|
||||
return matchingDispositions[0]
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user