Skip to content

Commit 06a2af3

Browse files
committed
Fixing linter
1 parent 4f65113 commit 06a2af3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netmiko/checkpoint/checkpoint_gaia_ssh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def command_echo_read(self, cmd: str, read_timeout: float) -> str:
3030
"""Check Point clish double echoes the command (at least sometimes)"""
3131

3232
re_cmd = re.escape(cmd)
33-
pattern = f"{self.prompt_pattern}\s{re_cmd}"
33+
pattern = rf"{self.prompt_pattern}\s{re_cmd}"
3434

3535
# Make sure you read until you detect the command echo (avoid getting out of sync)
3636
new_data = self.read_until_pattern(

0 commit comments

Comments
 (0)