fixed global tags (regression from json-lib change)
This commit is contained in:
parent
9f730e4ff0
commit
410a2dc7ce
|
@ -1,6 +1,6 @@
|
||||||
cmake_minimum_required (VERSION 3.7)
|
cmake_minimum_required (VERSION 3.7)
|
||||||
project (mastorss
|
project (mastorss
|
||||||
VERSION 0.5.2
|
VERSION 0.5.3
|
||||||
LANGUAGES CXX
|
LANGUAGES CXX
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -89,7 +89,7 @@ std::vector<string> parse_website(const string &xml)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Read global hashtags or fail silently
|
// Read global hashtags or fail silently
|
||||||
for (const Json::Value &value : list["global.tags"])
|
for (const Json::Value &value : list["global"]["tags"])
|
||||||
{
|
{
|
||||||
watchwords.push_back(value.asString());
|
watchwords.push_back(value.asString());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user