From 9c38cf49239995547d11f7587cd72d8a9f20e1e6 Mon Sep 17 00:00:00 2001 From: supopur Date: Mon, 1 May 2023 21:26:56 +0200 Subject: [PATCH] Nasty punctuation marks --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 2cdad1e..47197ab 100644 --- a/main.py +++ b/main.py @@ -129,7 +129,7 @@ class API: #Dumps all the toml data from self.config and stores it inside toml.config def save_config(self): try: - with open("config.toml", w) as f: + with open("config.toml", "w") as f: self.log("inf", "Saving the configuration file...") toml.dump(self.config, f) self.log("inf", "Config was saved to config.toml")