File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -847,14 +847,15 @@ def receive_time(self, timezone: str = None):
847
847
Returns a struct_time from the Adafruit IO Server based on the device's IP address.
848
848
https://circuitpython.readthedocs.io/en/latest/shared-bindings/time/__init__.html#time.struct_time
849
849
850
- :param str timezone: Timezone to return the time in, see https://io.adafruit.com/services/time
850
+ :param str timezone: Timezone to return time in, see https://io.adafruit.com/services/time
851
851
default is based on the device's IP address being geolocated, falling back to UTC.
852
852
"""
853
853
path = self ._compose_path ("integrations/time/struct.json" )
854
854
if timezone is not None :
855
855
path += "?tz={0}" .format (timezone )
856
856
time_struct = self ._get (path )
857
857
return time .struct_time (
858
+ # pylint: disable=line-too-long
858
859
(
859
860
time_struct ["year" ],
860
861
time_struct ["mon" ],
You can’t perform that action at this time.
0 commit comments