Skip to content

Commit 0380590

Browse files
committed
Make GrpcServer.ip return "" upon error and not 0 as return value should be a string.
1 parent db064a9 commit 0380590

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ansys/dpf/core/server_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ def ip(self):
691691
try:
692692
return self.info["server_ip"]
693693
except:
694-
return 0
694+
return ""
695695

696696
@property
697697
def port(self):

0 commit comments

Comments
 (0)