Fixed useless \n in utils
This commit is contained in:
parent
8601814642
commit
1e23f6eb8c
@ -60,7 +60,7 @@ def configSet(key: str, value, *args: str, file: str = "config"):
|
|||||||
if len(value) < 30:
|
if len(value) < 30:
|
||||||
string += f'["{key}"] = "{value}"'
|
string += f'["{key}"] = "{value}"'
|
||||||
else:
|
else:
|
||||||
string += f'["{key}"] = """\n{value}\n"""'
|
string += f'["{key}"] = """{value}"""'
|
||||||
else:
|
else:
|
||||||
string += f'["{key}"] = {value}'
|
string += f'["{key}"] = {value}'
|
||||||
exec(string)
|
exec(string)
|
||||||
|
Reference in New Issue
Block a user