mirror of https://gitlab.com/bashrc2/epicyon
Shorter warning
parent
a6eb5ae044
commit
d1e2713cda
4
posts.py
4
posts.py
|
@ -2847,8 +2847,12 @@ def thread_send_post(session, post_json_str: str, federation_list: [],
|
||||||
|
|
||||||
if unauthorized:
|
if unauthorized:
|
||||||
_add_send_block(base_dir, nickname, domain, inbox_url)
|
_add_send_block(base_dir, nickname, domain, inbox_url)
|
||||||
|
if debug:
|
||||||
print('WARN: thread_send_post: Post is unauthorized ' +
|
print('WARN: thread_send_post: Post is unauthorized ' +
|
||||||
inbox_url + ' ' + post_json_str)
|
inbox_url + ' ' + post_json_str)
|
||||||
|
else:
|
||||||
|
print('WARN: thread_send_post: Post is unauthorized ' +
|
||||||
|
inbox_url)
|
||||||
break
|
break
|
||||||
if post_result:
|
if post_result:
|
||||||
log_str = 'Success on try ' + str(tries) + ': ' + post_json_str
|
log_str = 'Success on try ' + str(tries) + ': ' + post_json_str
|
||||||
|
|
Loading…
Reference in New Issue