docs: Check for 'MIXER_TRACK_' to not confuse with old 'MIXER_TRACK' setting
This commit is contained in:
parent
09a38d9523
commit
74032e02ea
@ -32,7 +32,8 @@ class Mock(object):
|
||||
def __getattr__(self, name):
|
||||
if name in ('__file__', '__path__'):
|
||||
return '/dev/null'
|
||||
elif name[0] == name[0].upper() and not name.startswith('MIXER_TRACK'):
|
||||
elif (name[0] == name[0].upper()
|
||||
and not name.startswith('MIXER_TRACK_')):
|
||||
return type(name, (), {})
|
||||
else:
|
||||
return Mock()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user