From 31dca0ac9011761f76d2d80c75eb58707259d3aa Mon Sep 17 00:00:00 2001 From: Alelafar Date: Thu, 14 Mar 2024 15:42:08 +0100 Subject: [PATCH] fixed formatting --- unified_planning/io/pddl_writer.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/unified_planning/io/pddl_writer.py b/unified_planning/io/pddl_writer.py index 3842ad9d2..c089b5dab 100644 --- a/unified_planning/io/pddl_writer.py +++ b/unified_planning/io/pddl_writer.py @@ -617,9 +617,7 @@ def _write_domain(self, out: IO[str]): for p in (c.simplify() for c in a.preconditions): if not p.is_true(): if p.is_and(): - precond_str.extend( - map(converter.convert, p.args) - ) + precond_str.extend(map(converter.convert, p.args)) else: precond_str.append(converter.convert(p)) preconditions_string = "\n ".join(precond_str)