From 6e4f7a0390b7f49ce79f0e15e07e1d6df309f3ce Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 12 Feb 2021 15:43:15 +0100 Subject: Refactor - clean --- archaeological_operations/lookups.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'archaeological_operations/lookups.py') diff --git a/archaeological_operations/lookups.py b/archaeological_operations/lookups.py index 2d70029ce..66bcf0831 100644 --- a/archaeological_operations/lookups.py +++ b/archaeological_operations/lookups.py @@ -24,7 +24,7 @@ class OperationLookup(LookupChannel): return self.model.objects.filter(query).order_by('cached_label')[:20] def format_item_display(self, item): - return u"%s" % item.cached_label + return "%s" % item.cached_label @register('archaeological_site') @@ -75,7 +75,7 @@ class ParcelLookup(LookupChannel): return escape(force_text(obj.long_label())) def format_item_display(self, item): - return u"%s" % item.long_label() + return "%s" % item.long_label() @register("cultural_attribution_type") -- cgit v1.2.3