check old format better
This commit is contained in:
parent
a5c5cb0d40
commit
788691a0cf
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ class MusicTagsOptions(OptionsDictValidator):
|
||||||
self._embed_thumbnail = self._validate_key_if_present(
|
self._embed_thumbnail = self._validate_key_if_present(
|
||||||
key="embed_thumbnail", validator=BoolValidator
|
key="embed_thumbnail", validator=BoolValidator
|
||||||
)
|
)
|
||||||
self._is_old_format = old_tags_validator is not None or self._embed_thumbnail is not None
|
self._is_old_format = old_tags_validator._dict or self._embed_thumbnail is not None
|
||||||
|
|
||||||
new_tags_dict: Dict[str, Any] = copy.deepcopy(value)
|
new_tags_dict: Dict[str, Any] = copy.deepcopy(value)
|
||||||
new_tags_dict.pop("tags", None)
|
new_tags_dict.pop("tags", None)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue