diff --git a/update.py b/update.py index 8465e8a..3216ed4 100755 --- a/update.py +++ b/update.py @@ -6,12 +6,12 @@ import os import sys import typing from datetime import date, datetime -from pprint import pformat from time import time import deepdiff # type: ignore import flask import requests +import yaml import agenda.bristol_waste import agenda.fx @@ -116,7 +116,9 @@ def report_space_launch_change( body = f""" A space launch of interest was updated. -{pformat(differences)} +{yaml.dump(differences)} + +https://edwardbetts.com/agenda/launches """ agenda.mail.send_mail(config, subject, body)