Skip to content

Commit

Permalink
Merge branch 'serpwings:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
seowings authored Oct 23, 2023
2 parents 5952ed7 + d4b97f8 commit 30e6d7b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ edit_uri: blob/main/docs/
nav:
- Home: index.md
- Tutorial: tutorial.md
- Core:
- Project Class: core-project.md

plugins:
- search
Expand Down
5 changes: 5 additions & 0 deletions src/staticwordpress/core/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ def is_older_version(self) -> bool:
return self["version"] == VERISON

def is_open(self) -> bool:
"""Check if a Project is Open
Returns:
bool: True/False if a Porject is already open.
"""
return all(
[
self.status
Expand Down

0 comments on commit 30e6d7b

Please sign in to comment.