Check path

merge-requests/8/head
Bob Mottram 2020-08-22 20:26:55 +01:00
parent 1eac0134fc
commit 69531c89d9
1 changed files with 1 additions and 1 deletions

View File

@ -1925,7 +1925,7 @@ def htmlNewPost(mediaInstance: bool, translate: {},
pathBase = pathBase.replace('/newfollowers', '').replace('/newdm', '')
newPostImageSection = ' <div class="container">'
if endpoint != 'newevent':
if not path.endswith('/newevent'):
newPostImageSection += \
' <label class="labels">' + \
translate['Image description'] + '</label>\n'