From cc12005a4b76eaa1ab41acd1a24c224cb7cd35a7 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 26 Aug 2018 19:46:07 +0200 Subject: [PATCH] watchwords.json is no longer required to exist. Fixes #2 --- CMakeLists.txt | 2 +- src/parse.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 69154f0..936bcba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.7) project (mastorss - VERSION 0.7.2 + VERSION 0.7.3 LANGUAGES CXX ) diff --git a/src/parse.cpp b/src/parse.cpp index 64380ff..8fc87df 100644 --- a/src/parse.cpp +++ b/src/parse.cpp @@ -49,8 +49,7 @@ std::vector parse_website(const string &xml) } else { - cerr << "ERROR: " << filepath << "watchwords.json not found or not readable.\n"; - return {}; + cerr << "WARNING: " << filepath << "watchwords.json not found or not readable.\n"; } // Read profile-specific hashtags or fail silently