From 5a8b68a8a2affd15cdba22df54e146f5afe12750 Mon Sep 17 00:00:00 2001 From: Chris Snijder Date: Thu, 29 Mar 2018 16:09:11 +0200 Subject: [PATCH] Fix issue 48 parse file extensions correctly from config file. --- stapled/core/daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stapled/core/daemon.py b/stapled/core/daemon.py index e64d260..65a2c01 100644 --- a/stapled/core/daemon.py +++ b/stapled/core/daemon.py @@ -93,7 +93,7 @@ def __init__(self, **kwargs): 'haproxy_socket_mapping', None ) self.file_extensions = kwargs.pop('file_extensions') - self.file_extensions.replace(" ", "").split(",") + self.file_extensions = self.file_extensions.replace(" ", "").split(",") self.renewal_threads = kwargs.pop('renewal_threads') self.refresh_interval = kwargs.pop('refresh_interval') self.minimum_validity = kwargs.pop('minimum_validity')