Log outage geometries to database #68
1 changed files with 6 additions and 7 deletions
13
scl.py
13
scl.py
|
@ -261,13 +261,12 @@ Cause: {}
|
|||
)
|
||||
)
|
||||
|
||||
post_result = {"id": "0123"}
|
||||
# post_result = mastodon_client.status_post(
|
||||
# status=post_text,
|
||||
# media_ids=map_media_post,
|
||||
# visibility="public",
|
||||
# language="en",
|
||||
# )
|
||||
post_result = mastodon_client.status_post(
|
||||
status=post_text,
|
||||
media_ids=map_media_post,
|
||||
visibility="public",
|
||||
language="en",
|
||||
)
|
||||
post_id = post_result["id"]
|
||||
|
||||
return {"post_id": post_id, "map_media_post_id": map_media_post_id}
|
||||
|
|
Loading…
Reference in a new issue