Support coma separated mbids in tags

environments/review-docs-devel-1399dq/deployments/6607
Agate 2020-08-03 15:49:14 +02:00
rodzic c72f9cc0d9
commit 8cc78652c7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -494,7 +494,7 @@ class ArtistField(serializers.Field):
def to_internal_value(self, data):
# we have multiple values that can be separated by various separators
separators = [";"]
separators = [";", ","]
# we get a list like that if tagged via musicbrainz
# ae29aae4-abfb-4609-8f54-417b1f4d64cc; 3237b5a8-ae44-400c-aa6d-cea51f0b9074;
raw_mbids = data["mbids"]