Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrohy committed Jun 4, 2023
1 parent 5cb0f0d commit 42e2e18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2ray_util/util_core/group.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def __str__(self):
port_way = "-{}".format(self.end_port) if self.end_port else ""
if self.tls == "tls":
tls = _("open")
if self.node_list[0].flow:
if hasattr(self.node_list[0], "flow"):
tls += " flow: {}".format(self.node_list[0].flow)
elif self.tls == "reality":
tls = "reality serverName: {0}, flow: {1}, publicKey: {2}, shortId: {3}".format(self.node_list[0].serverName, self.node_list[0].flow, x25519_key(self.node_list[0].privateKey)[1], self.node_list[0].shortId)
Expand Down

0 comments on commit 42e2e18

Please sign in to comment.