forked from indymedia/epicyon
More debug
parent
8c34555db3
commit
01f9c6625c
2
blog.py
2
blog.py
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue