Skip to content

Commit 7948aea

Browse files
committed
remove trailing spaces for recursive loading
1 parent 08c958f commit 7948aea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autolab_core/yaml_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def _load_config(self, filename):
9292
def recursive_load(matchobj, path):
9393
first_spacing = matchobj.group(1)
9494
other_spacing = first_spacing.replace('-', ' ')
95-
fname = os.path.join(path, matchobj.group(2))
95+
fname = os.path.join(path, matchobj.group(2).rstrip())
9696
new_path, _ = os.path.split(fname)
9797
new_path = os.path.realpath(new_path)
9898
text = ''

0 commit comments

Comments
 (0)