aboutsummaryrefslogtreecommitdiffstats
path: root/botstrap.py
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2023-03-12 18:13:10 +0100
committerGravatar shtlrs <[email protected]>2023-03-12 18:13:10 +0100
commitb4bb64fcfde32cf95708f66beb137f32e2abf5d7 (patch)
tree78f46366aba6012307e8d3de5147dcb54469f4ab /botstrap.py
parentwrite emoji_trashcan to .env.server upon botstrap (diff)
change mode to "wb"
Diffstat (limited to 'botstrap.py')
-rw-r--r--botstrap.py2
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"))