mirror of https://gitlab.com/bashrc2/epicyon
Check for moved actors
parent
36bac670a0
commit
0243c5579e
|
@ -641,7 +641,9 @@ def html_profile(signing_priv_key_pem: str,
|
||||||
"""
|
"""
|
||||||
show_moved_accounts = False
|
show_moved_accounts = False
|
||||||
if authorized:
|
if authorized:
|
||||||
show_moved_accounts = True
|
moved_accounts_filename = base_dir + '/accounts/actors_moved.txt'
|
||||||
|
if os.path.isfile(moved_accounts_filename):
|
||||||
|
show_moved_accounts = True
|
||||||
|
|
||||||
nickname = profile_json['preferredUsername']
|
nickname = profile_json['preferredUsername']
|
||||||
if not nickname:
|
if not nickname:
|
||||||
|
|
Loading…
Reference in New Issue