Skip to content

Commit 9b62d4a

Browse files
authored
Merge pull request #35 from chkp-shirango/master
Use Python3 to get the port number
2 parents 7294417 + 83e31cd commit 9b62d4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpapi/mgmt_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def login_as_root(self, domain=None, payload=None):
220220
:param payload: [optional] dict of additional parameters for the login command
221221
:return: APIResponse object with the relevant details from the login command.
222222
"""
223-
python_absolute_path = os.path.expandvars("$MDS_FWDIR/Python/bin/python")
223+
python_absolute_path = os.path.expandvars("$MDS_FWDIR/Python/bin/python3")
224224
api_get_port_absolute_path = os.path.expandvars("$MDS_FWDIR/scripts/api_get_port.py")
225225
mgmt_cli_absolute_path = os.path.expandvars("$CPDIR/bin/mgmt_cli")
226226

0 commit comments

Comments
 (0)