From a2ec26c7d41ade994aa196f6d86dd8e1dbf788cf Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 27 Aug 2019 14:06:51 +0100 Subject: [PATCH] Delete post screen style --- webinterface.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/webinterface.py b/webinterface.py index 0bf66b94..50c58e4e 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1681,15 +1681,14 @@ def htmlDeletePost(session,baseDir: str,messageId: str, \ if not os.path.isfile(baseDir+'/accounts/delete-background.png'): copyfile(baseDir+'/img/delete-background.png',baseDir+'/accounts/delete-background.png') - with open(baseDir+'/epicyon-follow.css', 'r') as cssFile: + with open(baseDir+'/epicyon-profile.css', 'r') as cssFile: profileStyle = cssFile.read() deletePostStr=htmlHeader(profileStyle) + deletePostStr='' deletePostStr+= \ individualPostAsHtml(baseDir,session,wfRequest,personCache, \ - nickname,domain,port,postJsonObject, \ - None,True,False, \ - httpPrefix,projectVersion, \ - False,False) + nickname,domain,port,postJsonObject,None,True,False, \ + httpPrefix,projectVersion,False,False) deletePostStr+='
' deletePostStr+='

Delete this post?

' deletePostStr+= \