This commit is contained in:
+2
-1
@@ -20,7 +20,7 @@ def stringify(obj, indent=0):
|
||||
return '\n'.join(
|
||||
f"{space}- (vide)" if not e or (isinstance(e, dict) and not e)
|
||||
else f"{space}- {stringify(e, indent + 1)}" if not isinstance(e, dict)
|
||||
else f"{space}-\n{stringify(e, indent + 1)}"
|
||||
else f"{space}- {stringify(e, indent + 1)}" # ← plus de \n !
|
||||
for e in obj
|
||||
)
|
||||
|
||||
@@ -36,6 +36,7 @@ def stringify(obj, indent=0):
|
||||
return str(obj)
|
||||
|
||||
|
||||
|
||||
def sanitize_param_value(v):
|
||||
s = str(v)
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user