diff --git a/adafruit_portalbase/network.py b/adafruit_portalbase/network.py index 43d2d0b..955a322 100755 --- a/adafruit_portalbase/network.py +++ b/adafruit_portalbase/network.py @@ -241,8 +241,10 @@ def get_local_time(self, location=None): (year, month, mday, hours, minutes, seconds, week_day, year_day, is_dst) ) - if rtc is not None: - rtc.RTC().datetime = now + if rtc is not None: + rtc.RTC().datetime = now + + return reply def wget(self, url, filename, *, chunk_size=12000): """Download a url and save to filename location, like the command wget.