master
Bob Mottram 2019-08-24 13:40:19 +01:00
parent 6cd58c6c9b
commit b2bfb1b11d
1 changed files with 3 additions and 3 deletions

View File

@ -545,9 +545,9 @@ def htmlNewPost(baseDir: str,path: str,inReplyTo: str,mentions: []) -> str:
"""New post screen """New post screen
""" """
reportUrl=None reportUrl=None
if '/newreport?=' in path: if '/newreport?' in path:
reportUrl=path.split('/newreport?=')[1] reportUrl=path.split('/newreport?')[1]
path=path.split('/newreport?=')[0] path=path.split('/newreport?')[0]
replyStr='' replyStr=''
if not path.endswith('/newshare'): if not path.endswith('/newshare'):
if not path.endswith('/newreport'): if not path.endswith('/newreport'):