Missing or

main
Bob Mottram 2020-02-19 18:11:21 +00:00
parent 3302fdfa6c
commit 23978ee799
1 changed files with 3 additions and 1 deletions

View File

@ -2191,7 +2191,9 @@ def addPostStringToTimeline(postStr: str,boxname: str, \
""" is this a valid timeline post?
"""
# must be a "Note" or "Announce" type
if '"Note"' in postStr '"Article"' in postStr or '"Announce"' in postStr or \
if '"Note"' in postStr or \
'"Article"' in postStr or \
'"Announce"' in postStr or \
('"Question"' in postStr and ('"Create"' in postStr or '"Update"' in postStr)):
if boxname=='dm':