diff --git a/plumbum/commands/base.py b/plumbum/commands/base.py index 3172c526..03d74d7c 100644 --- a/plumbum/commands/base.py +++ b/plumbum/commands/base.py @@ -533,9 +533,8 @@ def _get_encoding(self): def formulate(self, level=0, args=()): return [ f"echo {shquote(self.data)}", - "|", - self.cmd.formulate(level + 1, args), - ] + "|" + ] + self.cmd.formulate(level + 1, args), @property def machine(self):