Remove Create from ending

merge-requests/30/head
Bob Mottram 2021-12-06 11:15:35 +00:00
parent b3e57c5fde
commit 9daad0bd5c
1 changed files with 2 additions and 2 deletions

View File

@ -595,8 +595,8 @@ def removeIdEnding(idStr: str) -> str:
idStr = idStr[:-len('/event')]
elif idStr.endswith('/replies'):
idStr = idStr[:-len('/replies')]
if '#' in idStr:
idStr = idStr.split('#')[0]
if idStr.endswith('#Create'):
idStr = idStr.split('#Create')[0]
return idStr