diff --git a/masque/library/library.py b/masque/library/library.py index 7fc5a86..66d9f17 100644 --- a/masque/library/library.py +++ b/masque/library/library.py @@ -85,7 +85,7 @@ class Library: return self.get_primary(key) def __iter__(self) -> Iterator[str]: - return self.keys() + return iter(self.keys()) def __contains__(self, key: str) -> bool: return key in self.primary