fixed global tags (regression from json-lib change)

This commit is contained in:
tastytea 2018-04-14 14:46:27 +02:00
parent 9f730e4ff0
commit 410a2dc7ce
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.7)
project (mastorss
VERSION 0.5.2
VERSION 0.5.3
LANGUAGES CXX
)

View File

@ -89,7 +89,7 @@ std::vector<string> parse_website(const string &xml)
}
// 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());
}