Content license isn't needed for reminders

main
Bob Mottram 2024-09-09 09:32:38 +01:00
parent 5054b94444
commit a29437002c
1 changed files with 1 additions and 8 deletions

View File

@ -944,7 +944,6 @@ def _receive_new_post_process_newreminder(self, fields: {}, nickname: str,
city: str, base_dir: str, city: str, base_dir: str,
http_prefix: str, http_prefix: str,
person_cache: {}, person_cache: {},
content_license_url: str,
port: int, port: int,
filename: str, filename: str,
attachment_media_type: str, attachment_media_type: str,
@ -999,12 +998,7 @@ def _receive_new_post_process_newreminder(self, fields: {}, nickname: str,
get_understood_languages(base_dir, http_prefix, get_understood_languages(base_dir, http_prefix,
nickname, domain_full, nickname, domain_full,
person_cache) person_cache)
media_license_url = content_license_url media_license_url = ''
if fields.get('mediaLicense'):
media_license_url = fields['mediaLicense']
if '://' not in media_license_url:
media_license_url = \
license_link_from_name(media_license_url)
media_creator = '' media_creator = ''
if fields.get('mediaCreator'): if fields.get('mediaCreator'):
media_creator = fields['mediaCreator'] media_creator = fields['mediaCreator']
@ -2033,7 +2027,6 @@ def _receive_new_post_process(self, post_type: str, path: str, headers: {},
city, base_dir, city, base_dir,
http_prefix, http_prefix,
person_cache, person_cache,
content_license_url,
port, port,
filename, filename,
attachment_media_type, attachment_media_type,