From 0c9e850301e2ee8d90a2ee69f6fcc23a4949f149 Mon Sep 17 00:00:00 2001 From: Joseph Chatelain Date: Fri, 15 Dec 2023 16:03:13 -0800 Subject: [PATCH] fix linting --- tom_tns/templatetags/tns_extras.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tom_tns/templatetags/tns_extras.py b/tom_tns/templatetags/tns_extras.py index 64865d3..9802739 100644 --- a/tom_tns/templatetags/tns_extras.py +++ b/tom_tns/templatetags/tns_extras.py @@ -23,7 +23,8 @@ def report_to_tns(context): initial = { 'ra': target.ra, 'dec': target.dec, - 'reporter': f"{getattr(context['request'].user, 'get_full_name()', 'Anonymous User')}, using {settings.TOM_NAME}", + 'reporter': f"{getattr(context['request'].user, 'get_full_name()', 'Anonymous User')}," + f" using {settings.TOM_NAME}", } # Get photometry if available photometry = target.reduceddatum_set.filter(data_type='photometry')