Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenClontz committed Aug 1, 2024
1 parent 1385742 commit 15aefc9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pretext/project/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1395,7 +1395,9 @@ def deploy_strategy(
return "default_target"
if not self.site_abspath().exists():
return "pelican_default"
if (self.site_abspath() / "site.ptx").exists() or (self.site_abspath() / "site.json").exists():
if (self.site_abspath() / "site.ptx").exists() or (
self.site_abspath() / "site.json"
).exists():
return "pelican_custom"
return "static"

Expand Down

0 comments on commit 15aefc9

Please sign in to comment.