We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af00d87 commit bc06b62Copy full SHA for bc06b62
adafruit_ntp.py
@@ -56,7 +56,7 @@ def __init__(
56
self._server = server
57
self._port = port
58
self._packet = bytearray(48)
59
- self._tz_offset = tz_offset * 60 * 60
+ self._tz_offset = int(tz_offset * 60 * 60)
60
self._socket_timeout = socket_timeout
61
62
# This is our estimated start time for the monotonic clock. We adjust it based on the ntp
0 commit comments