FIX: Skip empty lines on config.include

This commit is contained in:
Fabio Manganiello 2022-10-14 20:56:18 +02:00
parent b88983f055
commit a5db599268
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -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)