Fixed long line

This commit is contained in:
Profitroll 2022-11-21 00:29:18 +01:00
parent 1e23f6eb8c
commit 45505a82c4

View File

@ -57,9 +57,9 @@ 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:
#if len(value) < 30:
# string += f'["{key}"] = "{value}"'
#else:
string += f'["{key}"] = """{value}"""'
else:
string += f'["{key}"] = {value}'