From a5db599268ffa8f4338bdbba8816c109890cee4d Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Fri, 14 Oct 2022 20:56:18 +0200 Subject: [PATCH] FIX: Skip empty lines on `config.include` --- platypush/config/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platypush/config/__init__.py b/platypush/config/__init__.py index 428ab9177d..cb5ab789ba 100644 --- a/platypush/config/__init__.py +++ b/platypush/config/__init__.py @@ -201,6 +201,8 @@ class Config: ) for include_file in include_files: + if not include_file: + continue if not os.path.isabs(include_file): include_file = os.path.join(cfgfile_dir, include_file) self._included_files.add(include_file)