mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
f589b31818
commit
26430b2dfe
|
@ -461,11 +461,14 @@ def mutePost(baseDir: str, nickname: str, domain: str, port: int,
|
||||||
debug: bool) -> None:
|
debug: bool) -> None:
|
||||||
""" Mutes the given post
|
""" Mutes the given post
|
||||||
"""
|
"""
|
||||||
|
print('mutePost: postId ' + postId)
|
||||||
postFilename = locatePost(baseDir, nickname, domain, postId)
|
postFilename = locatePost(baseDir, nickname, domain, postId)
|
||||||
if not postFilename:
|
if not postFilename:
|
||||||
|
print('mutePost: file not found ' + postId)
|
||||||
return
|
return
|
||||||
postJsonObject = loadJson(postFilename)
|
postJsonObject = loadJson(postFilename)
|
||||||
if not postJsonObject:
|
if not postJsonObject:
|
||||||
|
print('mutePost: object not loaded ' + postId)
|
||||||
return
|
return
|
||||||
print('mutePost: ' + str(postJsonObject))
|
print('mutePost: ' + str(postJsonObject))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue