Skip to content

Commit

Permalink
fix(init): class attribute has t be defined also at init level
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Jun 26, 2024
1 parent 6b47c95 commit d97cc41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mkdocs_rss_plugin/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ def __init__(self, *args, **kwargs):
# pages storage
super().__init__(*args, **kwargs)

self.cmd_is_serve: bool = False

def on_startup(
self, *, command: Literal["build", "gh-deploy", "serve"], dirty: bool
) -> None:
Expand Down

0 comments on commit d97cc41

Please sign in to comment.