Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions adafruit_portalbase/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down