mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-06-23 10:34:18 +00:00
6.3.2 - Fix the monthly_indexes option in the elastocsearch configuration section
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
6.3.2
|
||||
-----
|
||||
|
||||
- Fix the `monthly_indexes` option in the `elastocsearch` configuration section
|
||||
|
||||
6.3.1
|
||||
-----
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ from parsedmarc.utils import is_outlook_msg, convert_outlook_msg
|
||||
from parsedmarc.utils import timestamp_to_human, human_timestamp_to_datetime
|
||||
from parsedmarc.utils import parse_email
|
||||
|
||||
__version__ = "6.3.1"
|
||||
__version__ = "6.3.2"
|
||||
|
||||
logging.basicConfig(
|
||||
format='%(levelname)8s:%(filename)s:%(lineno)d:'
|
||||
|
||||
+2
-2
@@ -307,8 +307,8 @@ def _main():
|
||||
opts.elasticsearch_index_suffix = elasticsearch_config[
|
||||
"index_suffix"]
|
||||
if "monthly_indexes" in elasticsearch_config:
|
||||
opts.elasticsearch_monthly_indexes = elasticsearch_config[
|
||||
"monthly_indexes"]
|
||||
monthly = elasticsearch_config.getboolean("monthly_indexes")
|
||||
opts.elasticsearch_monthly_indexes = monthly
|
||||
if "ssl" in elasticsearch_config:
|
||||
opts.elasticsearch_ssl = elasticsearch_config.getboolean(
|
||||
"ssl")
|
||||
|
||||
Reference in New Issue
Block a user