From 45505a82c442ee60e33efafc96d4b99fa9b8e9dd Mon Sep 17 00:00:00 2001 From: Profitroll <47523801+profitrollgame@users.noreply.github.com> Date: Mon, 21 Nov 2022 00:29:18 +0100 Subject: [PATCH] Fixed long line --- modules/utils.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/utils.py b/modules/utils.py index 7d69a7c..1d462d4 100644 --- a/modules/utils.py +++ b/modules/utils.py @@ -57,10 +57,10 @@ def configSet(key: str, value, *args: str, file: str = "config"): string += f'["{arg}"]' if type(value) in [str]: value.replace("'", "\'").replace('"', '\"') - if len(value) < 30: - string += f'["{key}"] = "{value}"' - else: - string += f'["{key}"] = """{value}"""' + #if len(value) < 30: + # string += f'["{key}"] = "{value}"' + #else: + string += f'["{key}"] = """{value}"""' else: string += f'["{key}"] = {value}' exec(string)