Exit if matched

merge-requests/30/head
Bob Mottram 2021-11-29 10:10:52 +00:00
parent de8dc91341
commit d7da2ca6e2
1 changed files with 1 additions and 0 deletions

View File

@ -3215,6 +3215,7 @@ class PubServer(BaseHTTPRequestHandler):
for possEnding in possibleEndings:
if searchStr.endswith(possEnding):
searchStr = searchStr.replace(possEnding, '')
break
# your post history search
nickname = getNicknameFromActor(actorStr)
searchStr = searchStr.replace("'", '', 1).strip()