mirror of https://gitlab.com/bashrc2/epicyon
Return values if invalid url
parent
19bd33e885
commit
0d5038f204
|
@ -352,7 +352,7 @@ def post_json_string(session, post_jsonStr: str,
|
|||
if not url_permitted(inbox_url, federation_list):
|
||||
if not quiet:
|
||||
print('post_json_string: ' + inbox_url + ' not permitted')
|
||||
return None, None, 0
|
||||
return False, True, 0
|
||||
|
||||
try:
|
||||
post_result = \
|
||||
|
|
Loading…
Reference in New Issue