More debug

main
Bob Mottram 2020-03-01 13:18:42 +00:00
parent 8c34555db3
commit 01f9c6625c
1 changed files with 2 additions and 0 deletions

View File

@ -542,10 +542,12 @@ def htmlEditBlog(mediaInstance: bool,translate: {}, \
""" """
postFilename=locatePost(baseDir,nickname,domain,postUrl) postFilename=locatePost(baseDir,nickname,domain,postUrl)
if not postFilename: if not postFilename:
print('Edit blog: Filename not found for '+postUrl)
return None return None
postJsonObject=loadJson(postFilename) postJsonObject=loadJson(postFilename)
if not postJsonObject: if not postJsonObject:
print('Edit blog: json not loaded for '+postFilename)
return None return None
iconsDir=getIconsDir(baseDir) iconsDir=getIconsDir(baseDir)