Write file

merge-requests/30/head
Bob Mottram 2021-08-12 11:47:03 +01:00
parent 866a54437f
commit 0e268913f2
1 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ def muteConversation(baseDir: str, nickname: str, domain: str,
return
if os.path.isfile(conversationFilename + '.muted'):
return
with open(conversationFilename + '.muted') as fp:
with open(conversationFilename + '.muted', 'w+') as fp:
fp.write('\n')