Variable clash

merge-requests/30/head
Bob Mottram 2023-06-18 15:47:04 +01:00
parent 17cba460b1
commit f85f201472
1 changed files with 2 additions and 2 deletions

View File

@ -431,9 +431,9 @@ def html_profile_after_search(recent_posts_cache: {}, max_recent_posts: int,
if str(item['type']) == 'Announce' and \ if str(item['type']) == 'Announce' and \
isinstance(item['object'], str): isinstance(item['object'], str):
# resolve the announce # resolve the announce
profile_str = 'https://www.w3.org/ns/activitystreams' profile_str2 = 'https://www.w3.org/ns/activitystreams'
as_header2_str = 'application/ld+json; profile="' + \ as_header2_str = 'application/ld+json; profile="' + \
profile_str + '"' profile_str2 + '"'
as_header2 = { as_header2 = {
'Accept': as_header2_str 'Accept': as_header2_str
} }