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
self.connect()
self.connect(max_attempts=max_attempts)
api_url = None
reply = None
try:
@ -271,7 +271,7 @@ class NetworkBase:
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:
times = reply.split(" ")
the_date = times[0]