Skip to content

Commit

Permalink
fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Alelafar committed Apr 15, 2024
1 parent 42f6844 commit 31dca0a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions unified_planning/io/pddl_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 31dca0a

Please sign in to comment.