Less indentation

main
Bob Mottram 2020-11-19 18:07:17 +00:00
parent c2aae98b87
commit 64b7cf4b11
1 changed files with 11 additions and 10 deletions

View File

@ -115,7 +115,8 @@ def htmlHashTagSwarm(baseDir: str, actor: str, translate: {}) -> str:
break
else:
postUrl = sections[2]
if '##' in postUrl:
if '##' not in postUrl:
break
postDomain = postUrl.split('##')[1]
if '#' in postDomain:
postDomain = postDomain.split('#')[0]