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
"""
reportUrl=None
if '/newreport?=' in path:
reportUrl=path.split('/newreport?=')[1]
path=path.split('/newreport?=')[0]
if '/newreport?' in path:
reportUrl=path.split('/newreport?')[1]
path=path.split('/newreport?')[0]
replyStr=''
if not path.endswith('/newshare'):
if not path.endswith('/newreport'):