mirror of
https://github.com/beetbox/beets.git
synced 2025-12-25 18:13:17 +01:00
Use null instead of model_type()
This commit is contained in:
parent
e99becb41e
commit
29bab249c6
1 changed files with 1 additions and 1 deletions
|
|
@ -209,7 +209,7 @@ class String(Type):
|
|||
|
||||
def normalize(self, value):
|
||||
if value is None:
|
||||
return self.model_type()
|
||||
return self.null
|
||||
else:
|
||||
return self.model_type(value)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue