Skip to content

Commit edd72af

Browse files
committed
style: fix ruff rule PLW1508
1 parent d213a17 commit edd72af

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugins/connection/proxmox_pct_remote.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,9 @@ def exec_command(self, cmd: str, in_data: bytes | None = None, sudoable: bool =
694694
# to initialise from the calling environment when sudoable is enabled
695695
if self.get_option("pty") and sudoable:
696696
chan.get_pty(
697-
term=os.getenv("TERM", "vt100"), width=int(os.getenv("COLUMNS", 0)), height=int(os.getenv("LINES", 0))
697+
term=os.getenv("TERM", "vt100"),
698+
width=int(os.getenv("COLUMNS", "0")),
699+
height=int(os.getenv("LINES", "0")),
698700
)
699701

700702
display.vvv(f"EXEC {cmd}", host=self.get_option("remote_addr"))

0 commit comments

Comments
 (0)