diff --git a/scel-buc.py b/scel-buc.py index 4372489..1faa081 100755 --- a/scel-buc.py +++ b/scel-buc.py @@ -92,7 +92,7 @@ def generate_pages(): chat_file = CHAT_PATH+f'/{chat_id}.html' chat_files.add(chat_file) for i in chat_files: - with open(i, 'a') as f: + with open(i, 'w') as f: f.write(f'\n' f' \n' f' \n'