diff options
author | 2022-08-16 23:45:25 +0400 | |
---|---|---|
committer | 2022-08-16 23:45:25 +0400 | |
commit | 92a42694b6ad1a29e5a21e0b3e57639528837113 (patch) | |
tree | e5feabe3e9336b286ba7b0add1987b938320639e /pydis_site/apps/content/utils.py | |
parent | Fix Tag Metadata For Static Builds (diff) |
Fix Tests For Tag Metadata
Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'pydis_site/apps/content/utils.py')
-rw-r--r-- | pydis_site/apps/content/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/content/utils.py b/pydis_site/apps/content/utils.py index e4a24a73..63f1c41c 100644 --- a/pydis_site/apps/content/utils.py +++ b/pydis_site/apps/content/utils.py @@ -130,7 +130,7 @@ def fetch_tags() -> list[Tag]: def set_tag_commit(tag: Tag) -> None: """Fetch commit information from the API, and save it for the tag.""" - if settings.STATIC_BUILD: + if settings.STATIC_BUILD: # pragma: no cover # Static builds request every page during build, which can ratelimit it. # Instead, we return some fake data. tag.last_commit = Commit( |