Appemding the patch to actually do something

This commit is contained in:
Keith Schincke 2024-06-04 12:07:00 -05:00
parent 932e56cca7
commit 6eb0c372d3

View file

@ -213,7 +213,7 @@ class NetworkBase:
""" """
# pylint: disable=line-too-long # pylint: disable=line-too-long
self.connect() self.connect(max_attempts=max_attempts)
api_url = None api_url = None
reply = None reply = None
try: try:
@ -271,7 +271,7 @@ class NetworkBase:
failing or use None to disable. Defaults to 10. failing or use None to disable. Defaults to 10.
""" """
reply = self.get_strftime(TIME_SERVICE_FORMAT, location=location) reply = self.get_strftime(TIME_SERVICE_FORMAT, location=location, max_attempts=max_attempts)
if reply: if reply:
times = reply.split(" ") times = reply.split(" ")
the_date = times[0] the_date = times[0]