diff options
author | 2023-03-12 18:13:10 +0100 | |
---|---|---|
committer | 2023-03-12 18:13:10 +0100 | |
commit | b4bb64fcfde32cf95708f66beb137f32e2abf5d7 (patch) | |
tree | 78f46366aba6012307e8d3de5147dcb54469f4ab /botstrap.py | |
parent | write emoji_trashcan to .env.server upon botstrap (diff) |
change mode to "wb"
Diffstat (limited to 'botstrap.py')
-rw-r--r-- | botstrap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/botstrap.py b/botstrap.py index 55e1bb6c7..90a954d9b 100644 --- a/botstrap.py +++ b/botstrap.py @@ -165,5 +165,5 @@ with DiscordClient() as discord_client: config_str += "\n#Emojis\n" config_str += "emojis_trashcan=🗑️" - with env_file_path.open("ab") as file: + with env_file_path.open("wb") as file: file.write(config_str.encode("utf-8")) |