Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
parkererickson-tg committed Jan 14, 2025
1 parent 4a8b4f7 commit 2b49878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyTigerGraph/pyTigerGraphBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def __init__(self, host: str = "http://127.0.0.1", graphname: str = "MyGraph",

restppPort = str(restppPort)
sslPort = str(sslPort)
if self.tgCloud and (restppPort == "9000" or restppPort == "443"):
if (self.tgCloud and (restppPort == "9000" or restppPort == "443")) or (restppPort == gsPort):
self.restppPort = sslPort
self.restppUrl = self.host + ":" + sslPort + "/restpp"
else:
Expand Down

0 comments on commit 2b49878

Please sign in to comment.