merge-requests/30/head
Bob Mottram 2021-09-28 12:52:25 +01:00
parent 8e2f98e930
commit 59dc05b0fc
1 changed files with 2 additions and 0 deletions

View File

@ -526,6 +526,8 @@ def mutePost(baseDir: str, nickname: str, domain: str, port: int,
print('MUTE: cached post removed ' + cachedPostFilename)
except BaseException:
pass
else:
print('MUTE: cached post not found ' + cachedPostFilename)
with open(postFilename + '.muted', 'w+') as muteFile:
muteFile.write('\n')