Skip to content

Commit d97cc41

Browse files
committed
fix(init): class attribute has t be defined also at init level
1 parent 6b47c95 commit d97cc41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mkdocs_rss_plugin/plugin.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ def __init__(self, *args, **kwargs):
6060
# pages storage
6161
super().__init__(*args, **kwargs)
6262

63+
self.cmd_is_serve: bool = False
64+
6365
def on_startup(
6466
self, *, command: Literal["build", "gh-deploy", "serve"], dirty: bool
6567
) -> None:

0 commit comments

Comments
 (0)