Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon committed Dec 11, 2024
1 parent 7ff83bf commit 030c194
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tom_dataproducts/sharing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 030c194

Please sign in to comment.