Skip to content

Commit 7bb9d0a

Browse files
author
Roland Hedberg
committed
Fixed file name error
1 parent efa005e commit 7bb9d0a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/saml2/mdstore.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -656,10 +656,10 @@ def load(self, typ, *args, **kwargs):
656656
if os.path.isdir(key):
657657
files = [f for f in listdir(key) if isfile(join(key, f))]
658658
for fil in files:
659-
_md = MetaDataFile(self.onts, self.attrc, fil)
659+
_fil = join(key, fil)
660+
_md = MetaDataFile(self.onts, self.attrc, _fil)
660661
_md.load()
661-
_key = join(key, fil)
662-
self.metadata[_key] = _md
662+
self.metadata[_fil] = _md
663663
return
664664
else:
665665
# else it's just a plain old file so read it

0 commit comments

Comments
 (0)