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']:
|
if '/statuses/' not in announcedJson['id']:
|
||||||
_rejectAnnounce(announceFilename)
|
_rejectAnnounce(announceFilename)
|
||||||
return None
|
return None
|
||||||
if '/users/' not in announcedJson['id'] and \
|
if not hasUsersPath(announcedJson['id']):
|
||||||
'/accounts/' not in announcedJson['id'] and \
|
|
||||||
'/channel/' not in announcedJson['id'] and \
|
|
||||||
'/profile/' not in announcedJson['id']:
|
|
||||||
_rejectAnnounce(announceFilename)
|
_rejectAnnounce(announceFilename)
|
||||||
return None
|
return None
|
||||||
if not announcedJson.get('type'):
|
if not announcedJson.get('type'):
|
||||||
|
|
Loading…
Reference in New Issue