Skip to content

Commit af00d87

Browse files
Fixed incorrect type definition for tz_offset parameter.
1 parent d52104b commit af00d87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_ntp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def __init__(
4040
*,
4141
server: str = "0.adafruit.pool.ntp.org",
4242
port: int = 123,
43-
tz_offset: int = 0,
43+
tz_offset: float = 0,
4444
socket_timeout: int = 10,
4545
) -> None:
4646
"""

0 commit comments

Comments
 (0)