mirror of https://gitlab.com/bashrc2/epicyon
Check object is dict
parent
acadb191b8
commit
88501572de
|
|
@ -513,6 +513,7 @@ def _store_content_labels_base(base_dir: str, nickname: str, domain: str,
|
|||
# get geolocations from content
|
||||
map_links: list[str] = []
|
||||
published = None
|
||||
if has_object_dict(post_json_object):
|
||||
if 'content' in post_json_object['object']:
|
||||
published = post_json_object['object']['published']
|
||||
post_content = post_json_object['object']['content']
|
||||
|
|
|
|||
Loading…
Reference in New Issue