mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-01 02:15:12 +00:00
Check that webfinger returns a dict
This commit is contained in:
1 parent
976ee3a89d
commit
ee70877aeb
13 files changed
+93
-5
No files matched your search
@@ -374,6 +374,10 @@ def sendAnnounceViaServer(baseDir: str, session,
|
||||
if debug:
|
||||
print('DEBUG: announce webfinger failed for ' + handle)
|
||||
return 1
|
||||
if not isinstance(wfRequest, dict):
|
||||
print('WARN: Webfinger for ' + handle + ' did not return a dict. ' +
|
||||
str(wfRequest))
|
||||
return 1
|
||||
|
||||
postToBox = 'outbox'
|
||||
|
||||
|
||||
Reference in new issue
Block a user