mirror of https://gitlab.com/bashrc2/epicyon
Variable name
parent
6b5b9410d1
commit
361fbf9e0f
|
@ -179,7 +179,7 @@ def webfingerLookup(path: str,baseDir: str,port: int,debug: bool) -> {}:
|
||||||
# convert @domain@domain to inbox@domain
|
# convert @domain@domain to inbox@domain
|
||||||
if '@' in handle:
|
if '@' in handle:
|
||||||
handleDomain=handle.split('@')[1]
|
handleDomain=handle.split('@')[1]
|
||||||
if handle.startswith(domain+'@'):
|
if handle.startswith(handleDomain+'@'):
|
||||||
handle='inbox@'+handleDomain
|
handle='inbox@'+handleDomain
|
||||||
filename=baseDir+'/wfendpoints/'+handle.lower()+'.json'
|
filename=baseDir+'/wfendpoints/'+handle.lower()+'.json'
|
||||||
if debug:
|
if debug:
|
||||||
|
|
Loading…
Reference in New Issue