Fixed search plugin crashing when enabling theme while serving

This commit is contained in:
squidfunk 2023-11-19 18:35:58 +01:00
parent 258e1dfcd3
commit ad83798bef
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
2 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,7 @@ class SearchPlugin(BasePlugin[SearchConfig]):
super().__init__(*args, **kwargs) super().__init__(*args, **kwargs)
# Initialize incremental builds # Initialize incremental builds
self.is_dirty = False
self.is_dirtyreload = False self.is_dirtyreload = False
# Initialize search index cache # Initialize search index cache

View File

@ -47,6 +47,7 @@ class SearchPlugin(BasePlugin[SearchConfig]):
super().__init__(*args, **kwargs) super().__init__(*args, **kwargs)
# Initialize incremental builds # Initialize incremental builds
self.is_dirty = False
self.is_dirtyreload = False self.is_dirtyreload = False
# Initialize search index cache # Initialize search index cache