Oracle: skip cards with a star in the collectors' number (#3706)

* Oracle: skip cards with a star in the collectors' number

* clangify
This commit is contained in:
ctrlaltca 2019-05-05 22:38:31 +02:00 committed by GitHub
parent 95d6efcdbf
commit 8f5bfd1f87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -249,6 +249,11 @@ int OracleImporter::importCardsFromSet(CardSetPtr currentSet, const QList<QVaria
setInfo.setProperty(xmlPropertyName, propertyValue);
}
// skip cards containing a star char in the collectors number
if (setInfo.getProperty("num").contains("")) {
continue;
}
// special handling properties
colors = card.value("colors").toStringList().join("");
if (!colors.isEmpty())