diff --git a/orotool.conf b/orotool.conf index 9e824bf..d34ba7c 100644 --- a/orotool.conf +++ b/orotool.conf @@ -3,6 +3,6 @@ db_path=originsro.db3 worker_threads=3 backend=sqlite -[rules] +[options] fetch_extra_delay=30 api_key=my_key_here diff --git a/src/app_config.cpp b/src/app_config.cpp index aee069c..0f7ad70 100644 --- a/src/app_config.cpp +++ b/src/app_config.cpp @@ -37,11 +37,11 @@ namespace { constexpr const char g_backend_sect[] = "system"; constexpr const char g_backend[] = "backend"; - constexpr const char g_fetch_extra_delay_sect[] = "rules"; + constexpr const char g_fetch_extra_delay_sect[] = "options"; constexpr const char g_fetch_extra_delay[] = "fetch_extra_delay"; constexpr const char g_fetch_extra_delay_def[] = "30"; - constexpr const char g_api_key_sect[] = "rules"; + constexpr const char g_api_key_sect[] = "options"; constexpr const char g_api_key[] = "api_key"; constexpr const char g_api_key_def[] = "";