Fixed useless \n in utils

This commit is contained in:
Profitroll 2022-11-14 19:24:22 +01:00
parent 8601814642
commit 1e23f6eb8c

View File

@ -60,7 +60,7 @@ def configSet(key: str, value, *args: str, file: str = "config"):
if len(value) < 30:
string += f'["{key}"] = "{value}"'
else:
string += f'["{key}"] = """\n{value}\n"""'
string += f'["{key}"] = """{value}"""'
else:
string += f'["{key}"] = {value}'
exec(string)