whoops - can't split an empty string
All checks were successful
QuipBot / deploy (push) Successful in 15s
DogFacts / deploy (push) Successful in 23s
QuotesBot / deploy (push) Successful in 17s
ReleaseBot / deploy (push) Successful in 29s

This commit is contained in:
2025-06-18 15:55:33 -05:00
parent 07d47509c9
commit 71bc0a606b
2 changed files with 2 additions and 2 deletions

View File

@ -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')

View File

@ -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':