Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
parkererickson-tg committed Jan 16, 2025
1 parent f203533 commit 6c29020
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyTigerGraph/pyTigerGraphBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,10 @@ def __init__(self, host: str = "http://127.0.0.1", graphname: str = "MyGraph",
restppPort = str(restppPort)
gsPort = str(gsPort)
sslPort = str(sslPort)
if (self.tgCloud and (restppPort == "9000" or restppPort == "443")) or (restppPort == gsPort):
if restppPort == gsPort:
self.restppPort = restppPort
self.restppUrl = self.host + ":" + restppPort + "/restpp"
elif (self.tgCloud and (restppPort == "9000" or restppPort == "443")):
if restppPort == gsPort:
sslPort = gsPort
self.restppPort = sslPort
Expand Down

0 comments on commit 6c29020

Please sign in to comment.