Update config.py

I feel pretty confident that this was supposed to be strip()
This commit is contained in:
Chaz Larson 2023-03-27 16:59:44 -05:00 committed by GitHub
parent de6ba1dd1e
commit c9865bdab0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -142,7 +142,7 @@ class ConfigFile:
if "metadata_files" in attrs and attrs["metadata_files"]:
self.requested_metadata_files = []
for s in attrs["metadata_files"].split("|"):
s = s.stripe()
s = s.strip()
if s:
if s.endswith(".yml"):
self.requested_metadata_files.append(s[:-4])