Minor fix
This commit is contained in:
parent
1f031105cb
commit
d11f17bc17
@ -107,6 +107,10 @@ func syncCharacter(character *arn.Character, malID string) {
|
|||||||
allowUpdating := character.CreatedBy == "" && character.EditedBy == ""
|
allowUpdating := character.CreatedBy == "" && character.EditedBy == ""
|
||||||
description, attributes := parseCharacterDescription(malCharacter.Description)
|
description, attributes := parseCharacterDescription(malCharacter.Description)
|
||||||
|
|
||||||
|
if strings.Contains(character.Description, "No biography written.") {
|
||||||
|
character.Description = ""
|
||||||
|
}
|
||||||
|
|
||||||
if (allowUpdating || character.Description == "") && description != "" {
|
if (allowUpdating || character.Description == "") && description != "" {
|
||||||
character.Description = description
|
character.Description = description
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user