Skip to content

Commit 3ddf451

Browse files
authored
fix(cli): python client address handling (#105)
1 parent daa286d commit 3ddf451

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/pkg/client/python_client_template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ from suga.buckets import Bucket
1010
class SugaClient:
1111
def __init__(self):
1212
address = os.getenv("SUGA_SERVICE_ADDRESS")
13-
if address == "":
13+
if not address:
1414
address = "localhost:50051"
1515

1616
self._channel = grpc.insecure_channel(address)

0 commit comments

Comments
 (0)