From 73b110530163a38ad649418c56778a828dd74447 Mon Sep 17 00:00:00 2001 From: Tristan Warder Date: Mon, 13 May 2024 13:09:13 -0400 Subject: [PATCH] Add typo I'm sorry --- p1am_200_helpers/ntp_rtc_helper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/p1am_200_helpers/ntp_rtc_helper.py b/p1am_200_helpers/ntp_rtc_helper.py index 5871380..d06c5a2 100644 --- a/p1am_200_helpers/ntp_rtc_helper.py +++ b/p1am_200_helpers/ntp_rtc_helper.py @@ -8,7 +8,7 @@ """ import struct import time -from adafruit_wiznet5k.adafruit_wiznet5k_socketpool import SocketPoolConstants +from adafruit_wiznet5k.adafruit_wiznet5k_socketpool import SocketPoolContants class NTPException(Exception): """Exception for NTP errors""" @@ -54,7 +54,7 @@ def get_epoch(self): recv_data = None attempts = 0 - client = self.socketpool.socket(type=SocketPoolConstants.SOCK_DGRAM) + client = self.socketpool.socket(type=SocketPoolContants.SOCK_DGRAM) client.settimeout(self.timeout) while attempts < self.retries: