Commit 5fe9e575 authored by Volker Krause's avatar Volker Krause
Browse files

Also make the extractor type explicit everywhere

This will simplify upcoming changes to these files.
parent d7df0793
Pipeline #54056 passed with stages
in 10 minutes and 18 seconds
......@@ -47,6 +47,7 @@ bool Extractor::load(const QJsonObject &obj, const QString &fileName, int index)
d->m_type = ExtractorInput::typeFromName(obj.value(QLatin1String("type")).toString());
if (d->m_type == ExtractorInput::Unknown) {
qCDebug(Log) << "extractor type not specified" << fileName;
d->m_type = ExtractorInput::Text;
}
......
......@@ -2,5 +2,6 @@
"filter": [
{ "header": "From", "match": "@aohostels.com", "type": "Email" }
],
"script": "aohostels.js"
"script": "aohostels.js",
"type": "Text"
}
......@@ -3,5 +3,6 @@
{ "header": "From", "match": "info@cd.cz", "type": "Email" },
{ "header": "From", "match": "eshop@cd.cz", "type": "Email" }
],
"script": "czechrailways.js"
"script": "czechrailways.js",
"type": "Text"
}
......@@ -3,5 +3,6 @@
{ "header": "From", "match": "@fcmtravel\.", "type": "Email" },
{ "header": "From", "match": "@travellink\.", "type": "Email" }
],
"script": "fcmtravel.js"
"script": "fcmtravel.js",
"type": "Text"
}
......@@ -2,5 +2,6 @@
"filter": [
{ "header": "From", "match": "@hertz.com", "type": "Email" }
],
"script": "hertz.js"
"script": "hertz.js",
"type": "Text"
}
......@@ -2,5 +2,6 @@
"filter": [
{ "header": "From", "match": "@iberia.com", "type": "Email" }
],
"script": "iberia.js"
"script": "iberia.js",
"type": "Text"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment