mirror of https://gitlab.com/bashrc2/epicyon
Remove argument
parent
224135ca37
commit
b4c220613e
4
inbox.py
4
inbox.py
|
@ -168,7 +168,7 @@ from reading import store_book_events
|
||||||
|
|
||||||
|
|
||||||
def cache_svg_images(session, base_dir: str, http_prefix: str,
|
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,
|
onion_domain: str, i2p_domain: str,
|
||||||
post_json_object: {},
|
post_json_object: {},
|
||||||
federation_list: [], debug: bool,
|
federation_list: [], debug: bool,
|
||||||
|
@ -5221,7 +5221,7 @@ def _inbox_after_initial(server, inbox_start_time,
|
||||||
# cache any svg image attachments locally
|
# cache any svg image attachments locally
|
||||||
# This is so that any scripts can be removed
|
# This is so that any scripts can be removed
|
||||||
cache_svg_images(session, base_dir, http_prefix,
|
cache_svg_images(session, base_dir, http_prefix,
|
||||||
nickname, domain, domain_full,
|
domain, domain_full,
|
||||||
onion_domain, i2p_domain,
|
onion_domain, i2p_domain,
|
||||||
post_json_object,
|
post_json_object,
|
||||||
federation_list, debug, None)
|
federation_list, debug, None)
|
||||||
|
|
3
tests.py
3
tests.py
|
@ -4249,7 +4249,6 @@ def _test_danger_svg(base_dir: str) -> None:
|
||||||
|
|
||||||
session = None
|
session = None
|
||||||
http_prefix = 'https'
|
http_prefix = 'https'
|
||||||
nickname = 'amplifier'
|
|
||||||
domain = 'ratsratsrats.live'
|
domain = 'ratsratsrats.live'
|
||||||
domain_full = domain
|
domain_full = domain
|
||||||
onion_domain = None
|
onion_domain = None
|
||||||
|
@ -4276,7 +4275,7 @@ def _test_danger_svg(base_dir: str) -> None:
|
||||||
assert svg_content != svg_clean
|
assert svg_content != svg_clean
|
||||||
|
|
||||||
assert cache_svg_images(session, base_dir, http_prefix,
|
assert cache_svg_images(session, base_dir, http_prefix,
|
||||||
nickname, domain, domain_full,
|
domain, domain_full,
|
||||||
onion_domain, i2p_domain,
|
onion_domain, i2p_domain,
|
||||||
post_json_object,
|
post_json_object,
|
||||||
federation_list, debug,
|
federation_list, debug,
|
||||||
|
|
Loading…
Reference in New Issue