Skip to content

Commit

Permalink
cleaner output
Browse files Browse the repository at this point in the history
  • Loading branch information
drewda committed Dec 18, 2024
1 parent e9a7e4f commit 7842023
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/check-feed-urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@

def setup_logging() -> None:
"""Configure the logger"""
handler = logging.StreamHandler()
handler = logging.StreamHandler(sys.stdout)
handler.setFormatter(logging.Formatter('%(message)s'))
logger.addHandler(handler)
logger.setLevel(logging.INFO)

Expand Down Expand Up @@ -70,6 +71,7 @@ def validate_feed_url(url: str, dmfr_path: str) -> bool:
["transitland", "validate", url],
capture_output=True,
text=True,
encoding='utf-8',
check=False
)

Expand Down

0 comments on commit 7842023

Please sign in to comment.