mirror of
https://github.com/beetbox/beets.git
synced 2026-01-08 17:08:12 +01:00
Musical key field may be None
Fixes a `modify` test, of all things.
This commit is contained in:
parent
8085d1318b
commit
336fdba9ed
1 changed files with 2 additions and 0 deletions
|
|
@ -205,6 +205,8 @@ class MusicalKey(types.String):
|
|||
r'bb': 'a#',
|
||||
}
|
||||
|
||||
null = None
|
||||
|
||||
def parse(self, key):
|
||||
key = key.lower()
|
||||
for flat, sharp in self.ENHARMONIC.items():
|
||||
|
|
|
|||
Loading…
Reference in a new issue