mirror of https://gitlab.com/bashrc2/epicyon
Only print with debug
parent
677b68c6ea
commit
32baf6b41f
3
like.py
3
like.py
|
@ -206,7 +206,8 @@ def sendLikeViaServer(baseDir: str, session,
|
|||
postResult = postJson(session, newLikeJson, [], inboxUrl,
|
||||
headers, 30, True)
|
||||
if not postResult:
|
||||
print('WARN: POST announce failed for c2s to ' + inboxUrl)
|
||||
if debug:
|
||||
print('WARN: POST announce failed for c2s to ' + inboxUrl)
|
||||
return 5
|
||||
|
||||
if debug:
|
||||
|
|
Loading…
Reference in New Issue