Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Commit 9c8aed3

Browse files
committed
chore(client): ensure UDP port is actually an int. Closes #651.
1 parent ed975b4 commit 9c8aed3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

influxdb/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def __init__(self,
107107
self._verify_ssl = verify_ssl
108108

109109
self.__use_udp = use_udp
110-
self.__udp_port = udp_port
110+
self.__udp_port = int(udp_port)
111111

112112
if not session:
113113
session = requests.Session()

0 commit comments

Comments
 (0)