From 71bc0a606b4b769060c5c729cc93e96260e9767c Mon Sep 17 00:00:00 2001 From: Camille Frantz Date: Wed, 18 Jun 2025 15:55:33 -0500 Subject: [PATCH] whoops - can't split an empty string --- globals.py | 2 +- release_check.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/globals.py b/globals.py index cac8a38..69dbbe1 100644 --- a/globals.py +++ b/globals.py @@ -32,7 +32,7 @@ quip_token = getenv('QUIP_TOKEN') quotes_source = getenv('QUOTES_SOURCE') ## Repository links -repo_links = getenv('REPO_LINKS').split(',') +repo_links = getenv('REPO_LINKS') # Pushover creds po_endpoint = getenv('PUSHOVER_ENDPOINT') diff --git a/release_check.py b/release_check.py index 2c25ffa..5a417fc 100644 --- a/release_check.py +++ b/release_check.py @@ -9,7 +9,7 @@ from globals import * now = dt.now(tz.utc) six_hours_ago = now - timedelta(hours=6) -for repo_link in repo_links: +for repo_link in repo_links.split(','): result = get(repo_link) entity = f"{repo_link.split('/')[3]}/{repo_link.split('/')[4]}" if result.reason == 'OK':