mirror of https://gitlab.com/bashrc2/epicyon
Invert logic
parent
c715085883
commit
dc6dc2c7ef
|
@ -1079,13 +1079,12 @@ def html_hashtag_search_remote(nickname: str, domain: str, port: int,
|
|||
as_header = {
|
||||
'Accept': 'application/activity+json; profile="' + profile_str + '"'
|
||||
}
|
||||
debug = True
|
||||
hashtag_json = \
|
||||
get_json(None,
|
||||
get_json(signing_priv_key_pem,
|
||||
session, hashtag_url, as_header, None, debug,
|
||||
__version__, http_prefix, domain)
|
||||
lines = []
|
||||
if not hashtag_json:
|
||||
if hashtag_json:
|
||||
if 'orderedItems' in hashtag_json:
|
||||
lines = hashtag_json['orderedItems']
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue