diff --git a/blocking.py b/blocking.py index ad00a213a..dda4cacf9 100644 --- a/blocking.py +++ b/blocking.py @@ -12,9 +12,6 @@ from utils import locatePost from utils import evilIncarnate from utils import getDomainFromActor from utils import getNicknameFromActor -from session import postJson -from auth import createBasicAuthHeader -from webfinger import webfingerHandle def addGlobalBlock(baseDir: str, diff --git a/blog.py b/blog.py index 724e7d783..458076ce5 100644 --- a/blog.py +++ b/blog.py @@ -586,8 +586,11 @@ def htmlEditBlog(mediaInstance: bool, translate: {}, editBlogImageSection += ' ' editBlogImageSection += ' ' - editBlogImageSection += ' ' editBlogImageSection += ' ' placeholderMessage = translate['Write something'] + '...' @@ -599,34 +602,48 @@ def htmlEditBlog(mediaInstance: bool, translate: {}, dateAndLocation = '' dateAndLocation = '
' - dateAndLocation += '

' - dateAndLocation += '

' - dateAndLocation += '' + dateAndLocation += \ + '' dateAndLocation += '' dateAndLocation += '

' dateAndLocation += '
' dateAndLocation += '
' - dateAndLocation += '
' + dateAndLocation += \ + '
' dateAndLocation += '' dateAndLocation += '
' editBlogForm = htmlHeader(cssFilename, editBlogCSS) - editBlogForm += '
' - editBlogForm += ' ' - editBlogForm += ' ' + editBlogForm += \ + ' ' + editBlogForm += \ + ' ' editBlogForm += '
' - editBlogForm += ' ' + editBlogForm += \ + ' ' editBlogForm += '