Remove argument

merge-requests/30/head
Bob Mottram 2024-02-06 13:05:13 +00:00
parent 224135ca37
commit b4c220613e
2 changed files with 3 additions and 4 deletions

View File

@ -168,7 +168,7 @@ from reading import store_book_events
def cache_svg_images(session, base_dir: str, http_prefix: str,
nickname: str, domain: str, domain_full: str,
domain: str, domain_full: str,
onion_domain: str, i2p_domain: str,
post_json_object: {},
federation_list: [], debug: bool,
@ -5221,7 +5221,7 @@ def _inbox_after_initial(server, inbox_start_time,
# cache any svg image attachments locally
# This is so that any scripts can be removed
cache_svg_images(session, base_dir, http_prefix,
nickname, domain, domain_full,
domain, domain_full,
onion_domain, i2p_domain,
post_json_object,
federation_list, debug, None)

View File

@ -4249,7 +4249,6 @@ def _test_danger_svg(base_dir: str) -> None:
session = None
http_prefix = 'https'
nickname = 'amplifier'
domain = 'ratsratsrats.live'
domain_full = domain
onion_domain = None
@ -4276,7 +4275,7 @@ def _test_danger_svg(base_dir: str) -> None:
assert svg_content != svg_clean
assert cache_svg_images(session, base_dir, http_prefix,
nickname, domain, domain_full,
domain, domain_full,
onion_domain, i2p_domain,
post_json_object,
federation_list, debug,