Skip to content

Commit

Permalink
fix bug where docs rebuild cache on each query
Browse files Browse the repository at this point in the history
  • Loading branch information
cibere committed Jan 10, 2025
1 parent 8a819d1 commit e1391c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async def init(self) -> None:
@property
def libraries(self) -> dict[str, Library]:
if self._library_cache is None:
libs = {
self._library_cache = libs = {
lib.name: library_from_partial(lib)
for lib in self.better_settings.libraries
}
Expand Down

0 comments on commit e1391c5

Please sign in to comment.