From 030c19412841911e673662847f4d958f1b22ea2b Mon Sep 17 00:00:00 2001 From: Jon Date: Wed, 11 Dec 2024 16:52:16 -0100 Subject: [PATCH] Fix indentation --- tom_dataproducts/sharing.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tom_dataproducts/sharing.py b/tom_dataproducts/sharing.py index 1b102d57..ae815ef0 100644 --- a/tom_dataproducts/sharing.py +++ b/tom_dataproducts/sharing.py @@ -35,11 +35,11 @@ def continuous_share_data(target, reduced_datums): destination, ReducedDatum.objects.filter(pk__in=reduced_datum_pks), topic=hermes_topic) sharing = getattr(settings, "DATA_SHARING", {}) message = BuildHermesMessage(title=f"Updated data for {target.name} from " - f"{getattr(settings, 'TOM_NAME', 'TOM Toolkit')}.", - authors=sharing.get('hermes', {}).get('DEFAULT_AUTHORS', None), - message=None, - topic=hermes_topic - ) + f"{getattr(settings, 'TOM_NAME', 'TOM Toolkit')}.", + authors=sharing.get('hermes', {}).get('DEFAULT_AUTHORS', None), + message=None, + topic=hermes_topic + ) publish_to_hermes(message, filtered_reduced_datums) else: share_data_with_tom(share_destination, None, None, None, selected_data=reduced_datum_pks)