Check that petname exists

main
Bob Mottram 2021-02-04 13:43:56 +00:00
parent 9ee84b4dbd
commit f528171090
1 changed files with 2 additions and 1 deletions

View File

@ -760,7 +760,8 @@ def addHtmlTags(baseDir: str, httpPrefix: str,
following = f.readlines()
for handle in following:
pet = getPetName(baseDir, nickname, domain, handle)
petnames.append(pet + '\n')
if pet:
petnames.append(pet + '\n')
# extract mentions and tags from words
longWordsList = []