forked from platypush/platypush
FIX: Skip empty lines on config.include
This commit is contained in:
parent
b88983f055
commit
a5db599268
1 changed files with 2 additions and 0 deletions
|
@ -201,6 +201,8 @@ class Config:
|
||||||
)
|
)
|
||||||
|
|
||||||
for include_file in include_files:
|
for include_file in include_files:
|
||||||
|
if not include_file:
|
||||||
|
continue
|
||||||
if not os.path.isabs(include_file):
|
if not os.path.isabs(include_file):
|
||||||
include_file = os.path.join(cfgfile_dir, include_file)
|
include_file = os.path.join(cfgfile_dir, include_file)
|
||||||
self._included_files.add(include_file)
|
self._included_files.add(include_file)
|
||||||
|
|
Loading…
Reference in a new issue