mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
c75492a971
commit
f7ad0e6ed5
|
@ -67,8 +67,7 @@ def _get_masto_api_v1account(base_dir: str, nickname: str, domain: str) -> {}:
|
||||||
image_url = remove_html(account_json['image']['url'])
|
image_url = remove_html(account_json['image']['url'])
|
||||||
joined_date = "2016-10-05T10:30:00Z"
|
joined_date = "2016-10-05T10:30:00Z"
|
||||||
if account_json.get('published'):
|
if account_json.get('published'):
|
||||||
if 'T' in account_json['published']:
|
joined_date = account_json['published']
|
||||||
joined_date = remove_html(account_json['published'])
|
|
||||||
masto_account_json = {
|
masto_account_json = {
|
||||||
"id": get_masto_api_v1id_from_nickname(nickname),
|
"id": get_masto_api_v1id_from_nickname(nickname),
|
||||||
"username": nickname,
|
"username": nickname,
|
||||||
|
|
Loading…
Reference in New Issue