Skip to content

Commit 07198e3

Browse files
authored
fix(install): too many newline backslashes
1 parent a1dc0ac commit 07198e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hpecp/cli/install.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def set_gateway_ssl(
149149
try:
150150
with open(cert_file, "r") as f:
151151
cert_content = (
152-
f.read().replace("\n", "\\n").replace("\t", "\\t")
152+
f.read().replace("\n", "\n").replace("\t", "\t")
153153
)
154154
cert_file_name = cert_file
155155
except OSError:
@@ -163,7 +163,7 @@ def set_gateway_ssl(
163163
try:
164164
with open(key_file, "r") as f:
165165
key_content = (
166-
f.read().replace("\n", "\\n").replace("\t", "\\t")
166+
f.read().replace("\n", "\n").replace("\t", "\t")
167167
)
168168
key_file_name = key_file
169169
except OSError:

0 commit comments

Comments
 (0)