mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
5c5b715bbe
commit
9950f42c86
5
posts.py
5
posts.py
|
@ -3915,10 +3915,7 @@ def downloadAnnounce(session, baseDir: str, httpPrefix: str,
|
|||
if '/statuses/' not in announcedJson['id']:
|
||||
_rejectAnnounce(announceFilename)
|
||||
return None
|
||||
if '/users/' not in announcedJson['id'] and \
|
||||
'/accounts/' not in announcedJson['id'] and \
|
||||
'/channel/' not in announcedJson['id'] and \
|
||||
'/profile/' not in announcedJson['id']:
|
||||
if not hasUsersPath(announcedJson['id']):
|
||||
_rejectAnnounce(announceFilename)
|
||||
return None
|
||||
if not announcedJson.get('type'):
|
||||
|
|
Loading…
Reference in New Issue