From 48c8f89b6ce7d4c6b21a8c4a83377a46fe0b095d Mon Sep 17 00:00:00 2001 From: Adam Lui Date: Sat, 3 May 2025 23:04:14 -0700 Subject: [PATCH] Removed unneed booelanization from `ignore_forked_repos` init --- generate_images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate_images.py b/generate_images.py index e800b9357ea..65bae7938b2 100644 --- a/generate_images.py +++ b/generate_images.py @@ -117,7 +117,7 @@ async def main() -> None: # Convert a truthy value to a Boolean raw_ignore_forked_repos = os.getenv("EXCLUDE_FORKED_REPOS") ignore_forked_repos = ( - not not raw_ignore_forked_repos + raw_ignore_forked_repos and raw_ignore_forked_repos.strip().lower() != "false" ) async with aiohttp.ClientSession() as session: