diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-13 03:55:16 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-13 03:55:16 -0400 |
commit | 5f0b25ab9a33ee994c7db6841e60609e9b5d3a77 (patch) | |
tree | 4118a29bf8e2f6c2a5a6838cf0ce6cb383b2b13b /src/main.cc | |
parent | f34763fe071cf613de060aef67c2a2476708ef92 (diff) | |
download | fork-ledger-5f0b25ab9a33ee994c7db6841e60609e9b5d3a77.tar.gz fork-ledger-5f0b25ab9a33ee994c7db6841e60609e9b5d3a77.tar.bz2 fork-ledger-5f0b25ab9a33ee994c7db6841e60609e9b5d3a77.zip |
The -f flag now works again.
Diffstat (limited to 'src/main.cc')
-rw-r--r-- | src/main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cc b/src/main.cc index b756b6e5..eeff5bb7 100644 --- a/src/main.cc +++ b/src/main.cc @@ -201,7 +201,7 @@ namespace ledger { if (! session.cache_file) session.use_cache = false; - else + else if (session.use_cache) session.use_cache = ! session.data_file.empty() && session.price_db; DEBUG("ledger.session.cache", "1. use_cache = " << session.use_cache); |