Fix unit test

merge-requests/30/head
Bob Mottram 2023-01-06 12:08:01 +00:00
parent 6bf4e26ea8
commit 00b47b218b
1 changed files with 3 additions and 1 deletions

View File

@ -1822,7 +1822,9 @@ def _get_copyright_footer(content_license_url: str,
elif '/fdl' in content_license_url:
icon_filename = 'license_fdl.png'
description = translate['Content License']
description = 'Content License'
if translate.get('Content License'):
description = translate['Content License']
copyright_str = \
' ' + \
'<a class="imageAnchor" href="' + content_license_url + \