Update config.py

I feel pretty confident that this was supposed to be strip()
pull/1352/head
Chaz Larson 2 years ago committed by GitHub
parent de6ba1dd1e
commit c9865bdab0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save