Skip to content

Commit

Permalink
Fixed search plugin crashing when enabling theme while serving
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Nov 19, 2023
1 parent 258e1df commit ad83798
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions material/plugins/search/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)

# Initialize incremental builds
self.is_dirty = False
self.is_dirtyreload = False

# Initialize search index cache
Expand Down
1 change: 1 addition & 0 deletions src/plugins/search/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)

# Initialize incremental builds
self.is_dirty = False
self.is_dirtyreload = False

# Initialize search index cache
Expand Down

0 comments on commit ad83798

Please sign in to comment.