mirror of https://gitlab.com/bashrc2/epicyon
Comment
parent
9cfb556922
commit
b9cbbdb9c8
|
@ -81,6 +81,7 @@ from followingCalendar import receivingCalendarEvents
|
||||||
|
|
||||||
def getUrlPath(actor: str, domainFull: str, callingDomain: str) -> str:
|
def getUrlPath(actor: str, domainFull: str, callingDomain: str) -> str:
|
||||||
"""Returns path from url
|
"""Returns path from url
|
||||||
|
eg. https://somedomain/users/bob becomes /users/bob
|
||||||
"""
|
"""
|
||||||
postActor = actor
|
postActor = actor
|
||||||
if callingDomain not in actor and domainFull in actor:
|
if callingDomain not in actor and domainFull in actor:
|
||||||
|
|
Loading…
Reference in New Issue