gnucash master: [price-quotes] Fix setting alphavantage API key.
John Ralls
jralls at code.gnucash.org
Fri Oct 14 18:47:15 EDT 2022
Updated via https://github.com/Gnucash/gnucash/commit/27675878 (commit)
from https://github.com/Gnucash/gnucash/commit/939a7740 (commit)
commit 27675878742cad8b38ba29e7bebaaab5fa5e474d
Author: John Ralls <jralls at ceridwen.us>
Date: Fri Oct 14 15:47:07 2022 -0700
[price-quotes] Fix setting alphavantage API key.
diff --git a/libgnucash/app-utils/gnc-quotes.cpp b/libgnucash/app-utils/gnc-quotes.cpp
index 152c1a3b0..e236c1ef4 100644
--- a/libgnucash/app-utils/gnc-quotes.cpp
+++ b/libgnucash/app-utils/gnc-quotes.cpp
@@ -205,7 +205,7 @@ GncFQQuoteSource::run_cmd (const StrVec& args, const std::string& json_string) c
bp::std_out > out_buf,
bp::std_err > err_buf,
bp::std_in < input_buf,
- bp::env["ALPHAVANTAGE_API_KEY"]= (m_api_key.empty() ? m_api_key : ""),
+ bp::env["ALPHAVANTAGE_API_KEY"]= (m_api_key.empty() ? "" : m_api_key),
svc);
svc.run();
process.wait();
Summary of changes:
libgnucash/app-utils/gnc-quotes.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-changes
mailing list