Extra debug

master
Bob Mottram 2019-07-18 12:01:53 +00:00
parent 6204830110
commit cd7ded743f
1 changed files with 1 additions and 0 deletions

View File

@ -103,6 +103,7 @@ def updateLikesCollection(postFilename: str,objectUrl: str, actor: str,debug: bo
if debug: if debug:
print('DEBUG: saving post with likes added') print('DEBUG: saving post with likes added')
pprint(postJsonObject)
with open(postFilename, 'w') as fp: with open(postFilename, 'w') as fp:
commentjson.dump(postJsonObject, fp, indent=4, sort_keys=True) commentjson.dump(postJsonObject, fp, indent=4, sort_keys=True)