mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
e21fce2938
commit
b3bdbca226
|
|
@ -350,7 +350,6 @@ def html_profile_after_search(authorized: bool,
|
||||||
|
|
||||||
# is this a bot account?
|
# is this a bot account?
|
||||||
if profile_json.get('type'):
|
if profile_json.get('type'):
|
||||||
if profile_json['type']:
|
|
||||||
if isinstance(profile_json['type'], str):
|
if isinstance(profile_json['type'], str):
|
||||||
if profile_json['type'] != 'Person':
|
if profile_json['type'] != 'Person':
|
||||||
display_name = '[' + translate['Bot'] + '] ' + display_name
|
display_name = '[' + translate['Bot'] + '] ' + display_name
|
||||||
|
|
@ -1186,7 +1185,6 @@ def html_profile(signing_priv_key_pem: str,
|
||||||
|
|
||||||
# is this a bot account?
|
# is this a bot account?
|
||||||
if profile_json.get('type'):
|
if profile_json.get('type'):
|
||||||
if profile_json['type']:
|
|
||||||
if isinstance(profile_json['type'], str):
|
if isinstance(profile_json['type'], str):
|
||||||
if profile_json['type'] != 'Person':
|
if profile_json['type'] != 'Person':
|
||||||
display_name = '[' + translate['Bot'] + '] ' + display_name
|
display_name = '[' + translate['Bot'] + '] ' + display_name
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue