summaryrefslogtreecommitdiff
path: root/parser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'parser.cc')
-rw-r--r--parser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.cc b/parser.cc
index debe5558..9c660f8f 100644
--- a/parser.cc
+++ b/parser.cc
@@ -126,7 +126,7 @@ unsigned int parse_ledger_data(config_t& config,
}
if (config.use_cache && ! config.cache_file.empty() &&
- ! config.data_file.empty()) {
+ config.cache_file != "<none>" && ! config.data_file.empty()) {
DEBUG_PRINT("ledger.config.cache",
"using_cache " << config.cache_file);
config.cache_dirty = true;